Checks whether a specified file exists.
Category: | External File |
Returned data type: | Character |
Note: | The returned value is true if the file exists. |
fileexists(<filename>)
filename
the name of the file that you are checking to find out if it exists
string filename
boolean rc_ok
filename="C:\doesexist.txt"
rc_ok = fileexists(filename) // outputs "true" if file exists