Chavter
12
I
Error Messages
Number
Message
0
a call
to
a USR function without a starting ad-
dress set by DEF USR.
improper argument
to
MID$, LEFT$, RIGHT$,
PEEK, POKE, TAB, SPC, STRING$, SPACE$,
INSTR,
or
LEFT$, RIGHT$, PEEK, POKE,
TAB, SPC, STRING$, SPACE$, INSTR, or
ON
...
GOTO.
negative record number used with GET
or
PUT.
0
0
6
Overflow
The result of a calculation was
too
large
to
be rep-
resented in BASIC numeric format.
If
underflow
oc-
curs, the result is zero, and execution continues
without an error.
7
Out
of
memory
A program is
too
large, has
too
many FOR loops
or
GOSUBs, has
too
many variables, or has expres-
sions that are
too
complicated.
8
Undefined line number
A nonexistent line was referenced in a GOTO, GO-
SUB, IF
...
THEN
...
ELSE,
or
DELETE statement.
9
Subscript out
of
range
An array element is referenced with a subscript
outside the dimensions of the array
or
with the
wrong number of subscripts.
10
Redimensioned Array/Duplicate Definition
BASIC encountered
2
DIM statements for the same
array,
or
a DIM statement after the default dimen-
sion
of
10
had already been established for that
array.
366