NXC
Version 1.2.1 r5
|
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.
filename | The name of the file to be opened. |
mode | The 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. |