APPENDIX B
PET
Error
Messages
Error messages may
be
displayed in response
to
just
about anything vou
may key in at the
PET
keyboard or
when
your
program
is
running. Both the
PET
BASIC interpreter and the operating system issue error messages. listed sepa-
rately below.
Whenever
the
PET
BASIC interpreter detects an error.
it
displays a diag-
nostic message. headed by a question mark. in the general form:
?message
ERROR
IN
L1NE
number
where message
is
the type
of
error (Iisted alphabetically below) and
number
is
the
line number in the program where the error occurred (not present in immediate
mode). Following any error message. BASIC returns
to
immediate mode and gives
the prompt:
READY.
PET
BASIC error messages are Iisted below.
with
two
descriptive
paragraphs: the first describes the cause of the error. and the second discusses
possible ways of correcting the error.
361