Name: CHKFILE Syntax: (CHKFILE(filespec))
Family: Function Category: File Management
Description: Checks file existance

The CHKFILE function allows you to check to see if a file exists. You may specify both a filename and a path. If no path is specified, the function checks for the file in the current directory. Otherwise, the function checks for the file in the specified location. The function returns a 1 if the file is found, and 0 if it is not found. Wildcards in the filename will produce unpredictable results.