Moo_FileRead ( sFile );
This functions lets you read a text file and save the input to a variable or text field.Parameters
Name | Type | Required | Default | Description |
sFile | String | Yes | The input file to be read. |
Return Value
Returns either the contents of the text file, or an error code.
Errors
Error Code | Description |
Moo_FileRead|Err_1 | Invalid number of arguments. |
Moo_FileRead|Err_2 | Invalid source file input. |
Moo_FileRead|Err_3 | Error opening input file. |
Moo_FileRead|Err_4 | Error creating input buffer. |
Moo_FileRead|Err_5 | Error reading file. |
Related Functions