|
of_getprev
|
|
Full name
|
pfc_n_cst_nodebase.of_getprev
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getprev(ref n_cst_nodebase)
|
Name
|
Datatype
|
lnv_nil
|
n_cst_nodebase
|
public function integer of_getprev (ref n_cst_nodebase anv_node);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_getprev
//
// Access: public
//
// Arguments :
// anv_node (by reference) node to be retrieved from the list
//
// Returns: integer
// 1 = success
// -1 = Failure, No next node
//
// Description:
// Retrieves the node before the current node.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
n_cst_nodebase lnv_nil
// Validate that there is a valid previous.
If IsNull(inv_prev) or Not IsValid(inv_prev) Then
anv_node = lnv_nil
Return -1
End If
anv_node = inv_prev
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|