file.hfile | source file

This header defines the File intrinsic class.

Summary of Classes

`File TemporaryFile`

Summary of Global Functions

(none)

Summary of Macros

`FileAccessRead FileAccessReadWriteKeep FileAccessReadWriteTrunc FileAccessWrite FileModeData FileModeRaw FileModeText LibraryDefaultsFile WebUIPrefsFile`

Summary of Enums

(none)

Summary of Templates

(none)

Global Functions

(none)

Macros

`FileAccessRead` | `file.h[38]`

`0x0001`
Read mode - the file is opened for reading (writing is not allowed). When opened in this mode, the file must exist, or a FileNotFoundException is thrown from the open method.

`FileAccessReadWriteKeep` | `file.h[55]`

`0x0003`
Read/write mode, keeping existing contents - the file is opened for both reading and writing. If the file does not exist, a new file is created. If the file does already exist, the existing contents of the file are kept intact on open.

`FileAccessReadWriteTrunc` | `file.h[64]`

`0x0004`
Read/write mode, truncating existing contents - the file is opened for both reading and writing. If the file does not exist, a new file is created. If the file does already exist, the existing contents of the file are discarded (i.e., the file is truncated to zero length) on open.

`FileAccessWrite` | `file.h[47]`

`0x0002`
Write mode - the file is opened for writing (reading is not allowed). When opened in this mode, if the file doesn't already exist, a new file is created; if the file does already exist, the existing data in the file are discarded (i.e., the file is truncated to zero length) on open.

`FileModeData` | `file.h[77]`

`2`
"data" mode

`FileModeRaw` | `file.h[80]`

`3`
"raw" mode

`FileModeText` | `file.h[74]`

`1`
text mode

`LibraryDefaultsFile` | `file.h[112]`

`0x0001`
The library defaults file. This is the special file where the library stores user-controlled start-up default settings.

`WebUIPrefsFile` | `file.h[118]`

`0x0002`
Web UI preference settings file. This is the special file where we store display style settings for the Web UI.

Enums

(none)

Templates

(none)

Adv3Lite Library Reference Manual
Generated on 12/12/2022 from adv3Lite version 1.6