Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_isdir() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_ISDIR()

 DESCRIPTION

 C_ISDIR() checks for the existence of a specified directory.

 SYNTAX

 C_ISDIR(dir)

 PARAMETERS

 dir (C) is the directory to check.

 RETURNS

 C_ISDIR() returns true (.T.) if the specified directory exists, or
 false (.F.) if it does not exist.

 EXAMPLES

 ? c_isdir("\DATA\SAVE") --> .T.     && Check directories
 ? c_isdir("A:\")        --> .T.
 ? c_isdir("C:\TMP")     --> .F.
 ...
 ...
 if !c_isdir("DOWNLOAD")      && Check for directory "download"
   c_mkdir("DOWNLOAD")        && Create it, if it does not exist
 endif


See Also: C_MKDIR() C_RMDIR() C_GETDIR() C_GETPATH() C_ZAPDIR()

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