Io.write Method [AX 2012]

Writes values of a simple type.

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.

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.

Community Additions

ADD
Show: