Class: IO
Description
This property contains a list of types of access granted to the device. Separate each parameter value with a slash (/). Valid options include:
APPEND
FIXED
NEWV – new version
READ
SHARED
WRITE
Syntax
set objectName.openParams = open_parameters
Returns
A string containing the parameters that will be applied in the next call to IO.open.
When Became Available
v6.4
Example
type IO io = Class.new(“IO”)
set io.directory = ”/unix_directory/spool”
set io.fileName = ”TEST.txt”
set io.openParams = ”NEWV/WRITE”
set io.timeout = 5
do io.open()
type String TEXT
set TEXT = ”This is a file created using IO class methods.”
do io.write(TEXT)
do io.close()
* The value of the directory property must be a valid directory path.