The inputerr statement displays a message on the status (bottom) line of the terminal. it meant to be used with the input@ statement.
inputerr str.exp
str.exp | Error message text. |
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.
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