basic.inputerr
Used with 'input' to display error message on status line.
Syntax
inputerr string.expression
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.
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
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
