basic.inputerr Statement/BASIC Program

basic.inputerr

Command basic.inputerr Statement/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
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.
Syntax inputerr string.expression
Options
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
Purpose
Related basic.statements
basic.inputnull
basic.inputtrap.goto
basic.string.expression
basic.inputtrap.gosub
pc.call
pc.callx