inputerr statement

The inputerr statement displays a message on the status (bottom) line of the terminal. it meant to be used with the input@ statement.

Syntax

inputerr str.exp

Parameter(s)

str.exp Error message text.

Description

If inputerr is used in a subroutine call from the Update processor, the item cannot be filed if an error exists. In this case, control returns to the Update processor input screen.

Example(s)

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 ’’
crt @(0,10):"Enter string "
loop
   input @(15,10):string,5
until string=’e’ do
   inputerr ’entry error’
repeat