NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
byte fopen ( string  filename,
const string  mode 

Open file.

Opens the file whose name is specified in the parameter filename and associates it with a file handle that can be identified in future operations by the handle that is returned. The operations that are allowed on the stream and how these are performed are defined by the mode parameter.

filenameThe name of the file to be opened.
modeThe file access mode. Valid values are "r" - opens an existing file for reading, "w" - creates a new file and opens it for writing, and "a" - opens an existing file for appending to the end of the file.
The handle to the opened file.