NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int ReadLnString ( byte  handle,
string &  output 
)
inline

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
handleThe file handle.
outputThe variable to store the string read from the file.
Returns
The function call result. See Loader module error codes.