NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int ReadLn ( byte  handle,
variant &  value 

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.

handleThe file handle.
valueThe variable to store the data read from the file.
The function call result. See Loader module error codes.