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

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.

handleThe file handle.
valueThe value to write to the file.
The function call result. See Loader module error codes.