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

Write a value and new line to a file.

Write a value to the file associated with the specified handle. The handle parameter must be a variable. The value parameter must be a constant, a constant expression, or a variable. The type of the value parameter determines the number of bytes of data written. This function also writes a carriage return and a line feed to the file following the numeric data.

Parameters
handleThe file handle.
valueThe value to write to the file.
Returns
The function call result. See Loader module error codes.
Examples:
ex_WriteLn.nxc.