FileExists¶
Purpose¶
Determines whether a path to a file system object such as a file or folder is valid.
Syntax¶
FileExists(path)
| Argument | Required | Description |
|---|---|---|
path |
Yes | The full path of the object to verify |
Example¶
// check if there is a logo of the customer
if (FileExists ("C:\logos\" + {Customer.Name} + ".jpg")) then
return "C:\logos\" + {Customer.Name} + ".jpg"
else
return ""
end
Notes¶
- The function is an External Library Function and gets built while learning how to build these ELFs.