of_removehead


pfcapsrv.pbl   >   pfc_n_cst_linkedlistbase   >   of_removehead   

Full name pfc_n_cst_linkedlistbase.of_removehead
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_removehead(ref n_cst_linkedlistnode)

Name Datatype
No Data

Name Datatype
No Data

protected function integer of_removehead (ref n_cst_linkedlistnode anv_headnode);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_RemoveHead
//
//	Access:  protected
//
//	Arguments : 
//	anv_headnode  (by ref) The previous Head Node which was removed from the list.
//
//	Returns:  integer
//	1 = success
//	-1 = failure
//
//	Description:  
//	Removes and returns the previous 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.
//
//////////////////////////////////////////////////////////////////////////////

// Clear the reference variable.
anv_headnode = inv_nil

If IsValid(inv_head) Then
	anv_headnode = inv_head
	Return of_Remove(anv_headnode)
End If

Return -1
end function

     
Name Owner
pfc_n_cst_list.of_removehead pfc_n_cst_list

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_linkedlistbase.of_remove pfc_n_cst_linkedlistbase

     
Full name
No Data

     
Name Scope
No Data