Product SiteDocumentation Site

8.36. SysIsFile


>>-SysIsFile(filename)-----------------------------------------><

Checks for the existence of a file. This function does not support wildcard specifications.
On Linux/Unix block devices are also considered to be regular files by this function.
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 8.22. RexxUtil - SysIsfile

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