PreviousNext
Help > Development > W-Language Functions for AS/400 > IFS functions > ASfWrite > Parameters
Parameters

 

result: integer

Number of bytes or characters written.

open_id: integer

Integer provided by ASfCreate or ASfOpen.

data1: Buffer or string

Data to write corresponding to the Length parameter.

data2: string

Data to write.

length:

For the syntax 1, size of the buffer or the string to write. For Unicode string, Length has to be equal to the number of characters.

 

See example.