of_sortdirlist


pfcapsrv.pbl   >   pfc_n_cst_filesrv   >   of_sortdirlist   

Full name pfc_n_cst_filesrv.of_sortdirlist
Access public
Extend of integer
Return value integer
Prototype public function integer of_sortdirlist(ref n_cst_dirattrib[],integer)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_sortdirlist (ref n_cst_dirattrib anv_dirlist[], integer ai_sorttype);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  		of_SortDirList
//	Arguments:		anv_DirList[]	The output structure from the of_DirList function.
//						ai_SortType		Sort by:  1 - File Name, 2 - File Ext.,
//											3 - File Last Write Date/Time, 
//											4 - File Size.
//	Returns:			Integer
//						1 if it succeeds and -1 if an error occurs.
//	Description:	Sort the directory list from the of_DirList function. 
//						This function overrides the real of_SortDirList to allow the last parameter
//						to be optional.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						5.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
Return of_SortDirList(anv_DirList, ai_SortType, True)
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_filesrv.of_sortdirlist pfc_n_cst_filesrv

     
Full name
No Data

     
Name Scope
No Data