|
of_find
|
|
Full name
|
pfc_n_cst_list.of_find
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_find(ref n_cst_linkedlistnode,n_cst_linkedlistnode)
|
Name
|
Datatype
|
lnv_startnode
|
n_cst_linkedlistnode
|
public function integer of_find (ref n_cst_linkedlistnode anv_returningnode, n_cst_linkedlistnode anv_keynode);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_find
//
// Access: public
//
// Arguments :
// anv_returningnode (by reference) node found and returned from the list.
// anv_keynode Node containing the key to be used to lookup the requested node.
//
// Returns: integer
// 1 : found
// 0 : not found
// -1 : failure
//
// Description:
// Finds and returns reference of the next node in the list in which the key
// meets a specified condition. The search starts at the Head 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.
//
//////////////////////////////////////////////////////////////////////////////
// Pass an invalid startnode reference to signify to start from the Head node.
n_cst_linkedlistnode lnv_startnode
Return of_find(anv_returningnode, anv_keynode, lnv_startnode)
end function