fileexists
Tests whether a file exists.
Syntax
fileexists(filename)
Argument
- filename
 - The filename and path (a string).
 
Example
| Templex Expression | Result | 
|---|---|
{fileexists(“.cshrc”)} | 
                                0 for false, 1 for true. | 
| Curve Math Vectors | Result | 
|---|---|
| N/A | Normally not used in math vectors. | 
Comments
The function only tests if the file exists, not whether it is readable, writeable, or of any given length.