I would add following sentence into the FILE() function (into the cFIleName parameter description):
Files included in an APP or EXE FoxPro application have precedence over the files on a disk. The path is irrelevant for such files. Use ADIR( ) function to locate specified file on a disk only.
And the Result Value should say:
Logical data type. FILE( ) returns True (.T.) if the specified file is included in an application or found on a disk; otherwise, it returns False (.F.).
Files included in an APP or EXE FoxPro application have precedence over the files on a disk. The path is irrelevant for such files. Use ADIR( ) function to locate specified file on a disk only.
And the Result Value should say:
Logical data type. FILE( ) returns True (.T.) if the specified file is included in an application or found on a disk; otherwise, it returns False (.F.).