Read a string from a file plus line ending.
Read a string from the file associated with the specified handle. The handle parameter must be a variable. The output parameter must be a variable. Appends bytes to the output variable until a line ending (CRLF) is reached. The line ending is also read but it is not appended to the output parameter.
- Parameters
-
handle | The file handle. |
output | The variable to store the string read from the file. |
- Returns
- The function call result. See Loader module error codes.