EasyManua.ls Logo

Commodore Plus 4 - Page 410

Commodore Plus 4
464 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
398
Error
Messages
17
UNDEFD
STATEMENT
This
message
indicates
that
the
current
command
refers
to
a
line
number
that
does
not
exist
in
the
program.
For
example,
a
GOTO
or
THEN
command
that
sends
the
program
to
a
line
that
does
not
exist
in
the
program
results
in
an
UNDEF'D
STATEMENT
error.
18
BAD
SUBSCRIPT
This
message
indicates
that
the
current
command
refers
to
an
array
subscript
that
is
outside
the
array
dimensions
established
in
the
array's
DIM
command
or
the
default
array
dimensions.
19
REDIM'D
ARRAY
This
message
indicates
that
you
have
tried
to
reDIM
an
array
that
was
previously
DIMed,
that
you
have
inadvertently
reused
an
array
variable
name
in
another
DIM
command,
or
that
you
have
tried
to
DIM
an
array
after
you
used
the
array
in
the
program.
Arrays
can
be
DIMensioned
only
once,
and
you
cannot
dimen
sion
an
array
after
you
use
it
in
the
program
even
if
you
have
not
previously
DIMed
the
array.
If
you
access
an
array
before
you
DIM
it,
BASIC
automatically
DIMs
the
array
with
a
default
dimension
of
10.
You
cannot
DIM
an
array
after
it
has
been
DIMed
by
default.
20
DIVISION
BY
ZERO
This
message
indicates
that
the
current
command
tried
to
perform
a
division
with
a
divisor
of
zero,
which
is
illegal.
This
usually
happens
when
you
are
dividing
with
variables
and
the
divisor
variable
is
assigned
a value
of
zero.
Use
a
TRAP
routine
to
check
for
this
error
to
avoid
aborting
the
program.
21
ILLEGAL
DIRECT
This
message
indicates
that
you
issued
a
command
in
immediate
mode
(also
called
direct
mode)
that
can
be
issued
only
in
program
mode.
22
TYPE
MISMATCH
This
message
indicates
that
the
current
command
assigns
a
value
to
the
wrong
type
of
variable.
For
example,
assigning
a
text
string
value
to
an
integer
variable
results
in
a
TYPE
MISMATCH
error.