of_parsepath


pfcapsrv.pbl   >   pfc_n_cst_filesrv   >   of_parsepath   

Full name pfc_n_cst_filesrv.of_parsepath
Access public
Extend of integer
Return value integer
Prototype public function integer of_parsepath(string,ref string,ref string,ref string)

Name Datatype
No Data

Name Datatype
ls_Ext string

public function integer of_parsepath (string as_path, ref string as_drive, ref string as_dirpath, ref string as_filename);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  		of_ParsePath
//	Arguments:		as_Path			The path to disassemble.
//						as_Drive			The disk drive from the path, passed by reference.
//						as_DirPath		The directory path, passed by reference.
//						as_FileName		The name of the file, passed by reference.
//	Returns:			Integer
//						1 if it succeeds and -1 if an error occurs.
//	Description:	Parse a fully-qualified directory path into its component parts.
//						This function overrides the real of_ParsePath to allow the file
//						extension 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.
//////////////////////////////////////////////////////////////////////////////
string	ls_Ext

SetNull (ls_Ext)

Return of_ParsePath(as_Path, as_Drive, as_DirPath, as_FileName, ls_Ext)
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.setnull systemfunctions
pfc_n_cst_filesrv.of_parsepath pfc_n_cst_filesrv

     
Full name
No Data

     
Name Scope
No Data