WRITEMODE Function (File)

Use this function before you use OPEN Function (File) to set or test whether you can write to a file in later calls.

[IsWritemode :=] File.WRITEMODE([SetWritemode])



Use this variable to refer to the file.


Type: Boolean

This variable is used to set the mode that the file will be opened in when File.OPEN is called.

If true, the file is opened for reading and writing; otherwise, if false, the file is only opened for reading.

Type: Boolean

The current setting of this option for the file.

true you can read from and write to the file; false you can only read from the file.

This function should be used before OPEN Function (File) is used to open the file.

Community Additions