Class: IO
Description
This property defines the file name used to access the file.
Syntax
set objectName.fileName = fileName
Returns
A number containing the fileName 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.