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

Read a value from a file.

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.

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_file_system.nxc, and ex_Read.nxc.