readFile()¶
Description¶
The readFile()
function is used to read from a file.
Syntax¶
Parameters¶
Parameter | Type | Description |
---|---|---|
path |
String |
The script file path. Can be absolute or relative (relative to <path_MotorXP-AFM>/bin/assets/scripts ). |
Return value¶
Type | Description |
---|---|
String |
The content of the file. |
Example¶
See Also