FILE_EXISTS(1,2)
PURPOSE
This function searches for a specific file name.
PARTS
1 f/c/e | Required - The file to search for. You must include a full path and extension. |
2 f/c/e | If you want to check for the file in the file manager (WTASFMGR.DBF) then set this value to True. |
RETURN TYPE - L
If the file is found this function returns .T., if not it returns .F.
COMMENTS
This is similar to FFILE() except that it only checks for a single file and returns .T. or .F. instead of the file name. Also, this function will test for both a file on the disk and in the file manager.
EXAMPLE
define dummy_l type L
dummy_L = FILE_EXISTS('myfile.txt,.f.)
See Also
Page url: http://www.cassoftware.com/tas/manual/fileexists().htm