base.Channel.writeLine

Write a complete line to the channel.

Syntax

writeLine(
   line STRING )
  1. line is the string expression to be written to the channel.

Usage

After opening a channel, use the writeLine() method to write a line of text to the channel.

The writeLine() method does not use the field delimiter, it write the text data to the stream, with an ending newline character.

To write a string with no ending newline character, use the writeNoNL() method.

The method raises error -6345 if the channel fails to write data.

Example

CALL ch.writeLine("Customer number: "|| custno)