Error Messages
Error
code/
Cause Countermeasure
Meaning
Error 4
•No
jump
destination for the
•Spec
ify the correct
jump
Undefined
GOTO
or
GOSUB
statements
. destination.
error
•T
here
is
no
data
to be read
with
•W
rite
data
READ/READ#
or
RESTORE#.
•
The
line
number
specified
with
•Co
rrect the line number.
RESTORE does
not
exist.
Error 5
•When
the argument
is
outside
•Co
rrect
the
argument error.
Argument the
input
range
of
commands
error
and functions requiring argu-
ments.
•T
he subscript in
the
array
is
out-
•Change
the
subscript.
side
the
input
range.
•
Attempted
to specify
two
arrays • Change
the
array name.
with
the
same name
but
differ-
en t subscripts.
Error 6
•
Attempted
to use a variable
that
•Expand
the variables with the
Variable error was
not
added.
DEFM statement.
•A
ttempted
to use
the
same varia- • Change
the
variable name for
ble name for a numeric variable
the
numeric variable and
and a character variable. character variable.
•Attempted
to use an array name
(
• Use after declaring the array
subscript
that
was
not
declared. or correct the array name
subscript.
Error
7
•W
hen the RETURN
statement
•Co
rrespond GOSUB -
Nesting error
is
used
other
than
when
execut
-
RETURN
or
FOR - NEXT
ing a subroutine. correctly.
•W
hen the FOR
statement
and
NEXT
statement
do
not
corre-
spond
or
when the variable
of
th!' NEXT
statement
does
not
match
that
of
the
FOR state-
ment.
•W
hen
the
subroutine
nesting
•Correct
the subroutine or
(calling a subroutine from a
FOR loop nesting level with-
subroutine) exceeds eight levels. in the range.
209