file_read()#
Reads a file.
Syntax
file_read( path, location, inputdata var )
Returns#
Length of inputdata on success, or -1 if the file doesn’t exist or an error occurs.
Parameters#
| Parameter | Description |
|---|---|
path |
Fully qualified file path. |
location |
Where to read from: 'data' or 'script'. |
inputdata var |
String variable that receives the file contents. |