NM and CM callable.
Operation Notes |
 |
The READX intrinsic reads an ASCII string from $STDINX into an array. This is similar to calling the FREAD intrinsic against the file $STDINX. However, the READX intrinsic is limited in its usefulness in that
the full capability of the file system is not available to you.
For example, FILE commands are not allowed. Also, you cannot use
certain file intrinsics because the filenum parameter, obtained from either the FOPEN/HPFOPEN intrinsic, is not normally available to users
of the READX intrinsic.
Basic line editing, such as cancellation of lines and backspacing,
are performed automatically by the I/O driver. If the input device
is a terminal in full-duplex mode with the ECHO facility on, or
if the terminal is in half-duplex mode, the characters read are printed.
READX interprets EOD, EOF, or in a job, EOJ, JOB, or DATA as an end-of-file indicator.
If $STDIN is redirected, only the file's actual EOF is interpreted
as the valid EOF indicator.