Kilowatt Software L.L.C.
Classic Rexx Tutorial
Language Level 4.00 (TRL-2)

Linein   built-in function

Normally, the Linein function returns a line from an input stream, at the current read position. Alternatively, the Linein function establishes a subsequent read position, and returns an empty string.

If a complete line is not available, the result will contain only the characters which remain .. AND the NOTREADY condition is raised.

When the default input stream is associated with keyboard input, the program will wait until the user types a complete line at the keyboard. The user may have difficulty identifying the program is waiting for input.

When the length argument is omitted, and the start arguments is present the current read position of the stream is set to the start position, and the empty string is returned.

Kilowatt Software L.L.C. -- Classic Rexx Tutorial -- Back to top
Click here if you have any comments or questions regarding this tutorial

Last updated on: 11 Apr 2006