TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-208
#INPUT Built-In Function
#INPUT Built-In Function
Use #INPUT to read information from the TACL IN file.
option
is an option that qualifies the read operation. It can be any of these:
CURRENT
reads input from the current IN file (if #IN was pushed), rather than from the
primary IN file.
FUNCTIONKEY variable-level
sets variable-level to the name of the function key used to terminate
reading. If the RETURN key terminates reading, variable-level is cleared.
Specify variable-level as the name of an existing variable level. When
this option is in effect, text generated by a function key is removed from the
input text.
HISTORY history-prompt
adds the line read to the history buffer. In addition, the history number and
history-prompt are appended to prompt.
HISTORYV variable-level
adds the line read to the history buffer. In addition, the history number and the
value of variable-level are appended to prompt.
NOECHO
suppresses echoing of the input line.
UNTIL { EOF | TACL }
specifies the conditions that terminate reading:
EOF
reads input until end-of-file is reached or, if you specify the
FUNCTIONKEY option, until a function key is pressed.
TACL
reads input until all square brackets balance. While #INPUT is reading
data, it processes function keys immediately and removes comments in the
usual TACL manner.
#INPUT [ / option [ , option ] ... / ] [ prompt ]