Read a value from a file plus line ending.
Read a value from the file associated with the specified handle. The handle parameter must be a variable. The value parameter must be a variable. The type of the value parameter determines the number of bytes of data read. The ReadLn function reads two additional bytes from the file which it assumes are a carriage return and line feed pair.
- Parameters
-
handle | The file handle. |
value | The variable to store the data read from the file. |
- Returns
- The function call result. See Loader module error codes.
- Examples:
- ex_ReadLn.nxc.