|
of_removetail
|
|
Full name
|
pfc_n_cst_linkedlistbase.of_removetail
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_removetail(ref n_cst_linkedlistnode)
|
protected function integer of_removetail (ref n_cst_linkedlistnode anv_tailnode);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_RemoveTail
//
// Access: protected
//
// Arguments :
// anv_tailnode (by ref) The previous Tail Node which was removed from the list.
//
// Returns: integer
// 1 = success
// -1 = failure
//
// Description:
// Removes and returns the previous Tail 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_tailnode = inv_nil
If IsValid(inv_tail) Then
anv_tailnode = inv_tail
Return of_Remove(anv_tailnode)
End If
Return -1
end function