SysFileExists

>>-SysFileExists(filename)-----------------------------------------><

Checks for the existence of a file. This function does not support wildcard specifications. Returns true if any file system entity with the given name exists. In particular, this will return true for both regular files and directories.

Parameters:

filename

The name of the file to check for the existence of.

Returns:

0

The file does not exist.

1

The file exists.

Example:

if SysFileExists(InputFile) then say "File Exists!"
else say "File does not exist."