EasyManua.ls Logo

Commodore Plus 4 - Page 407

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...
Appendix
A
Error
Messages
BASIC
3.5
Error
Messages
This
appendix
explains
the
BASIC
3.5
error
messages
in
numerical
order.
When
you
are
using
BASIC
and
get
an
error,
you
can
display
the
number
of
the
error
by
PRINTing
ER.
ER
is
the
system
reserved,
variable
that
contains
the
number
of
the
current
error.
PRINT
ERR$(ER)
to
display
the
brief
error
message
for
the
current
error.
The
only
purpose
for
the
error
number
is
to
identify
the
error
with
the
ER
and
ERRS
functions,
which
are
especially
useful
in
error-trapping
rou
tines.
See
the
TRAP
command
for
additional
information.
1
TOO
MAMT
FILES
BASIC
allows
only
10
open
files
at
a
time.
This
message
appears
after
you
attempt
to
OPEN
an
1
lth
file.
To
remedy,
CLOSE
an
opened
file
and
then
reissue
the
OPEN
command
that
was
rejected
for
being
the
1
lth
file.
2
FILE
OPEN
This
message
actually
tells
you
that
you
have
illegally
used
a
duplicate
logical
file
number
in
an
OPEN
command.
BASIC
does
not permit
duplicate
logical
file
numbers,
even
if
you
are
opening
different
types
of
devices.
As
long
as
a
file
remains
open,
you
cannot
reuse
its
logical
file
number
in
another
OPEN
command.
3
FILE
HOT
OPEN
This
message
tells
you
that
you
have
issued
a
file
command
without
first
issuing
an
OPEN
command.
BASIC
does
not permit
commands
sent
to
a
file
or device
until
after
that
file
or
device
has
been
accessed
by
an
OPEN
command.
398