Share via


AsciiIo.write Method

Writes values of a simple type.

Syntax

public boolean write( values)

Run On

Called

Parameters

  • values
    Type: [T:]
    One or more values, each of a simple type, separated by a field delimiter. 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 operation fails, you can check the status to learn the cause.

Remarks

The method accepts a variable number of arguments. Each value that is 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. Fields are separated by the delimiter that is specified in the outFieldDelimiter method. Records are separated by the delimiter that is specified in the outRecordDelimiter method.

To write complete containers, use the writeExp method.

See Also

Reference

AsciiIo Class