Share via


Io.write Method

Writes values of a simple type.

Syntax

public boolean write( values)

Run On

Called

Parameters

  • values
    Type: [T:]
    The simple types are string, integer, real, enum, and date.

Return Value

Type: boolean
true if the write operation succeeds; otherwise false. If the write failed, the status method could be checked for the cause.

Remarks

The method accepts a variable number of arguments. Each value specified is put into the output record as a field. The first argument as the first field, the second argument as the second field, and so on. The fields are separated with the field delimiter that is specified in the outFieldDelimiter method. Each record is separated by the outRecordDelimiter method.

To write complete containers, use the writeExp method.

See Also

Io Class

Io.status Method

Io.writeExp Method

Io.outFieldDelimiter Method

Io.outRecordDelimiter Method