File state or modeΒΆ

file_id-> state = int_expression

This read-only property can be to determine if a Sculptor keyed file is currently open, and if so in which mode. The values which file_id->state can have are as follows:

FOM_CLOSED

0

File is closed.

FOM_READ

1

File is open in read-only mode

FOM_CREATE

2

File is open in create mode.

FOM_UPDATE

3

File is open in update mode.

These values are defined in $SCULPTOR/include.files.h.


RELATED TOPICS

Keyed files

![o]file

openfile