Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Sample Reference - <b>environ.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Environ.prg
 File look up and state control functions
--------------------------------------------------------------------------------

     FilePath( <cFile> ) --> cFilePath

     Extract the full path name from a filename.

     FileBase( <cFile> ) --> cFileBase

     Extract the eight letter base name from a filename.

     FileExt( <cFile> ) --> cFileExt

     Extract the three letter extension from a filename.

     FileDrive( <cFile> ) --> cFileDrive

     Extract the drive designator from a fully qualified filename.

     FullPath( <cFile>, <lClipPath> ) --> cFullPath

     Returns the full path of cFile; similar to the FoxPro FULLPATH()
     function.

     GetPath( <cFile>, <cPathSpec> ) --> cPath

     Returns the location of a file if found in cPathSpec; otherwise returns
     NIL.

     SetAll( [<aNewSets>] ) --> aCurrentSets

     Using an array of settings, change all global SETs and return their
     original settings in an array.  If no argument is passed, simply return
     current settings.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson