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

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
handleThe file handle.
valueThe variable to store the data read from the file.
Returns
The function call result. See Loader module error codes.
Examples:
ex_ReadLn.nxc.