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

See Also

call Processing Code, callx (Write Trigger) Processing Code, delete Statement, inputnull Statement, inputtrap...gosub Statement, inputtrap...goto Statement, Statements and Functions, write Statement