base.Channel.writeNoNL
Writes a string to the channel (without newline character).
Syntax
writeNoNL(
value STRING )
- value is the character string to be written to the channel.
Usage
After opening a channel, use the writeNoNL()
method to write a string
to the channel, without a trailing newline character.
Note that the writeNoNL()
and write()
methods have distinct
purpose. The first is provided to write raw character strings to the stream. The second is designed
to write records with formatted data and field delimiters. The Channel class also provides the
writeLine()
method, to write a string with an ending newline character.
The method raises error -6345 if the channel fails to write data.
Example
CALL ch.writeNoNL("Some text ...")