INPUTERROR Statement
Prints a prompt message on the terminal status line.
Syntax
INPUTERR{OR} {message}
Syntax Elements
message is the message to be displayed; expressed as a variable name, a dynamic array reference, or a literal enclosed in quotes.
Operation
The INPUTERROR statement displays a message on the status line of the terminal. If the terminal has no status line, the message is printed on the last line of the screen. To clear the status line, execute INPUTERROR without the message parameter.
INPUTERROR is intended mainly to display a message before an INPUT@ statement, but it can be used anywhere in a program.
When used in a PRE-WRITE or PRE-DELETE file trigger, INPUTERROR aborts the file operation.
Example
VAR="PLEASE TYPE NAME IN UPPER CASE CHARACTERS" . INPUTERR VAR INPUT@(10,8):NAME INPUTERR
Prints the message contained in VAR on the status line and then prompts for the input of a name. After the input, the status line is cleared.