|
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)
|
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