Tests for the existence of a file. Returns true if the file exists and false if it doesn't.

Syntax

FILE(<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.

When you specify a <path list> using the SET PATH command, dBASE Plus searches those directories in addition to the current directory. When no SET PATH setting exists, and you don't provide the full path name when you specify a file name, dBASE Plus searches for the file in the current directory only.