of_getprev


pfcapsrv.pbl   >   pfc_n_cst_nodebase   >   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
No Data

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
pfc_n_cst_tree.of_search pfc_n_cst_tree
pfc_n_cst_tree.of_addnode pfc_n_cst_tree
pfc_n_cst_tree.of_balanceleft pfc_n_cst_tree
pfc_n_cst_tree.of_balanceright pfc_n_cst_tree
pfc_n_cst_tree.of_delnode pfc_n_cst_tree
pfc_n_cst_tree.of_balance pfc_n_cst_tree
pfc_n_cst_tree.of_traverse pfc_n_cst_tree
pfc_n_cst_linkedlistbase.of_destroy pfc_n_cst_linkedlistbase
pfc_n_cst_linkedlistbase.of_remove pfc_n_cst_linkedlistbase

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data