Please enable JavaScript to view this site.

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.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC