INPUTERR

INPUTERR


INPUTCTRL Index Level INPUTNULL
Syntax INPUTERR string.expression  
Category BASIC
Type Statement
Description displays a message on the "status" (bottom) line of the terminal.

If "inputerr" is used in a subroutine call from UP, the item cannot be filed if an error exists. In this case, control returns to the UP input screen.
Options
See Also statements & functions INPUTNULL INPUTTRAP ... GOTO string.expression INPUTTRAP ... GOSUB call callx subroutine WRITE DELETE
Example This program has a single valid entry, "e". If any other string is entered, the string "Entry error" displays on the error message line.

string=''
prompt ''
loop
 crt @(0,10):
 input string,5
until string='e' do
 inputerr 'Entry error'
repeat
Warnings
Compatibility D3 7.0 AP R83
INPUTCTRL Index Level INPUTNULL