Here’s how to use exists() function.
Description:
Check if a file exists.
Syntax:
f.exists()
Note:
The function checks if file f exists; return true if it exists, and false if it doesn’t exist.
Parameter:
f |
A file |
Return value:
Boolean
Example:
|
A |
|
1 |
=file("D://p1.splx").exists() |
Return true if the file exists. |
Related function: