Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfasfile()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfASFile()
This function check if a file exist on AS/400
------------------------------------------------------------------------------
Syntax:

     dfASFile( <cFile>, [<cFileMask>] ) --> lRet

Parameters:

     <cFile>    File or library that must be checked
     <cFileMask> File type to check. DEFAULT CHECK_FILE

Returns:

     <lRet>      If .T. the file or the library exist on AS/400

Description:

     Allows to check if a file or a library is on AS/400

Example:

     #include "dfas400.ch"
     
     ? dfASFile( "demo"     ) // Returns .T. if the file
                // exist in the selected environment
     
     ? dfASFile( "isa:demo" ) // Returns .T. if the file
                // exist in the environment ISA
     
     ? dfASFile( "lib", CHECK_LIB ) // Returns .T. if the
                // library "lib" exist

See also:

     dfASDriver(), dfASIndex()

See Also: dfASDriver() dfASIndex()

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