of_isempty


pfcapsrv.pbl   >   pfc_n_cst_linkedlistbase   >   of_isempty   

Full name pfc_n_cst_linkedlistbase.of_isempty
Access public
Extend of boolean
Return value boolean
Prototype public function boolean of_isempty()

Name Datatype
No Data

Name Datatype
lnv_temp n_cst_linkedlistnode

public function boolean of_isempty ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_IsEmpty
//
//	Access:  public
//
//	Arguments : None
//
//	Returns:  boolean
//	True - The List is empty.
// False - The List has at least one node.
//
//	Description:  
//	Determines if the list is currently empty.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

n_cst_linkedlistnode lnv_temp

// Look at the list to determine if the list has any entries.
If IsValid(inv_head) Then
	// The list is Not Empty.
	Return False
End If

// The list is Empty.
Return True
end function

     
Name Owner
pfc_n_cst_list.of_setduplicatesallowed pfc_n_cst_list
pfc_n_cst_list.of_setsorted pfc_n_cst_list
pfc_n_cst_list.of_find pfc_n_cst_list

     
Name Owner
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data