Open
Open(filename AS String, flags AS Integer[, nCreationFormat AS Integer]) AS Boolean
Opens the file <filename>.
The parameter <flags> defines the open options as a combination of the following flags:
modeRead= &h0000modeWrite= &h0001modeReadWrite= &h0002shareExclusive= &h0010shareDenyWrite= &h0020shareDenyRead= &h0030shareDenyNone= &h0040modeCreate= &h1000modeNoTruncate= &h2000TypeText= &h4000TypeBinary= &h8000
On file creation, set the <nCreationFormat> parameter to specify the file format:
- 1 for an ANSI file (default value)
- 2 for a UNICODE file
- 4 for a UTF8 file
- 5 for a binary file