of_get


pfcapsrv.pbl   >   pfc_n_cst_tree   >   of_get   

Full name pfc_n_cst_tree.of_get
Access public
Extend of integer
Return value integer
Prototype public function integer of_get(ref n_cst_treenode[])

Name Datatype
No Data

Name Datatype
li_rc integer
ll_cnt long

public function integer of_get (ref n_cst_treenode anv_list[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_Get
//
//	Access:  public
//
//	Arguments : 
//	anv_list[]  (by reference) an array of nodes.
//
//	Returns:  long
//	The number of nodes in the list.
//	 -1 : Error
//
//	Description:  
//	Returns an unbounded array of nodes. In left node first order
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

long ll_cnt = 0
integer li_rc

setpointer(hourglass!)
if isvalid(inv_root) then 
	of_traverse(inv_root,anv_list,ll_cnt)
end if

return ll_cnt

end function

     
Name Owner
pfc_n_cst_tree.of_count pfc_n_cst_tree
pfc_n_cst_tree.of_destroy pfc_n_cst_tree

     
Name Owner
systemfunctions.isvalid systemfunctions
systemfunctions.setpointer systemfunctions
pfc_n_cst_tree.of_traverse pfc_n_cst_tree

     
Full name
No Data

     
Name Scope
No Data