FileExist(‘filename’)
Section titled “FileExist(‘filename’)”| Argument | Description |
|---|---|
| String | A string representing the filename |
Data type: Boolean Returns truevalue if the file exists and falsevalue if it does not exist.
Example:
This expression returns It is there if the file exists – and returns Not found if the file does not exist.
If ( FileExist(‘c:\myfolder\myfile.txt’ , ‘It is there’ , ‘Not found’)