Open the file with the desired modality.
Syntax |
open(string filename, uint mode): bool |
---|---|
filename |
Full filename and path of the interested file |
mode |
File open modality |
Result |
Return operation logical result |
Available modality (mode) are the following:
Label |
Description |
---|---|
XFile_ReadOnly |
Open the file for reading only |
XFile_WriteOnly |
Open the the for writing only |
XFile_ReadWrite |
Open the file for reading and writing |
XFile_Truncate |
Erase the existing file data |
XFile_Append |
Append to existing file data |
XFile_Translate |
Enables carriage returns and linefeed translation for text files under Windows. |