FILE( )
Topic group Related topics Example
Tests for the existence of a file. Returns true if the file exists and false if it doesn't.
Syntax
FILE(<filename expC>) | FILE(":<sourceAlias>:filename expC")
Description
FILE( ) is identical to the File object’s exists( ) method, except that as a built-in function, it does not require a File object to work. Also, the exists( ) method does not have the ability to evaluate a <sourceAlias>.
When you specify a <path list> using the SET PATH command, dBASE Plus searches those directories in addition to the current directory and any source alias you specify. When no SET PATH setting exists, and you don't provide the full path or source alias when you specify a file name, dBASE Plus searches for the file in the current directory only.