Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes data to a file represented by a TextIO object.
Syntax
public boolean write( values)
Run On
Called
Parameters
- values
Type: [T:]
The values to write to the file. The values can be of different data types.
Return Value
Type: boolean
true if the write operation succeeds; otherwise, false.
Remarks
If the write operation fails, can be used to ascertain the cause. The write method accepts a variable number of arguments. Each value is put into the output record as a field. The fields are separated by the field delimiter specified by the . Each record is separated by the delimiter specified by the .
To write complete containers, use the .