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

Write value to 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.

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