EasyManua.ls Logo

Commodore VIC-20 - Page 352

Commodore VIC-20
404 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...
338
The
VIC
20
User
Guide
NOT
INPUT
FILE
An
attempt
was made
to
read from a
tape
file
that
has been opened for
output
only.
Check
the
READ#
and
OPEN
statement parameters for correct-
ness. Reading requires a zero as
the
third
parameter
of
the
OPEN
statement. (This
is
the default option.)
NOT
OUTPUT
FILE
An
attempt
was made
to
write
to
a
tape
file
that
has been opened for
input
only.
Check the
PRINT#
and
OPEN
statement parameters for correct-
ness. Writing
to
a file requires a 1
(or
a 2
if
you
want
an
EOT
at
the
end
of
the file) as the third parameter in
the
OPEN
statement.
OUT
OF
DATA
A
READ
statement
is
executed
but
all
of
the DATA statements in
the
program
have already been read.
For
each variable in a
READ
state-
ment, there must be a corresponding DATA element.
Add
more DATA elements
or
restrict the
number
of
READs
to
the
current
number
of
DATA elements. Insert a
RESTORE
statement
to
.
reread
the
existing
data.
Or
add
a flag
at
the
end
of
the
last DATA
statement (any value
not
used as a DATA element may be used for the
flag value)
and
stop
READing
when the flag has been read.
OUT
OF
MEMORY
The
user
program
area
of
memory has been filled
and
a request is given
to
add
a line
to
the program. This message may also be caused by
mUltiple
FOR-NEXT
or
GOSUB
nestings
that
fill
up
the
stack; this
is
the case
if
?FRE(O) shows a considerable
program
area storage left.
Simplify
the
program.
Pay
particular
attention
to
re4ucing
array
sizes.
It
may be necessary
to
restructure the
program
into overlays.
OVERFLOW
A calculation has resulted in a
number
outside
the
allowable range,
meaning
that
the
number
is
too
big.
The
largest
number
allowed
is
1.70141183E+38.
Check
your
calculations.
It
may
be possible
to
eliminate this
error
just
by changing the order in which
the
calculations are programmed.

Other manuals for Commodore VIC-20

Related product manuals