EasyManua.ls Logo

Commodore 16 - Page 83

Commodore 16
94 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
These
error
messages are
printed by BASIC You can also PRINT
Ihe
messages
through the
use
of
the ERRS() lunclion. Ttie error
number
refers only
to
the number
assigned to the error for
use
with
mis function
ERROR
# ERROR NAME
1
2
3
4
5
6
8
10
11
162
TOO MANY FILES
FILE OPEN
FILE NOT OPEN
FILE NOT
FOUND
DEVICE NOT
PRESENT
NOT INPUT FILE
NOT OUTPUT
FILE
MISSING FILE
NAME
ILLEGAL DEVICE
NUMBER
NEXT WITHOUT FOR
SYNTAX
There is
a
limit of
10 files
OPEN
at
one
lime
An allempt was made to open
a
file
using Ihe number ol an
already
open Tile.
The file number specified In
an I/O statement must
be
opened belo'e
use
No
file wilh
that
name exisfs
(disk)
The required
I'O device not
available
An
attempt made to GET or
INPUT data
from a file thai
was
specified
as output only
An attempt made to send
data to a
file
that was speci-
fied
as input only
An OPEN, LOAD, or SAVE to
Ihe dis*
drive
generally re
os a filename.
An
attempt made to use a
device improperly
(SAVE to
the
screen,
etc.)
Either loops are nesled in-
correctly, or there is
a
variable
name in
a
NEXT slatement
that
doesn t
correspond
wilh
one in
a
FOR
A slatement is unrecogniza-
ble by
BASIC Thts could
be
F |t
1
1
1
1
because
of missing or
extra
parenthesis, misspelled
keyword,
etc
1
1
i
12
RETURN WITHOUT
GOSUB
A RETURN slatement en-
countered when no GOSUB
statement was
active
1
1
1
i
i
13 OUT
OF DATA A READ
statement en-
countered, without data
left unREAD
14 ILLEGAL QUANTITY A
number
used as
ihe
argument of
a
lunction or
statement is outside the
allowable
range
1
1
( [
1 (
1 (
1
I
15
OVERFLOW The result
of
a compu-
lation is larger than the
largest number allowed
(1
70141 1833E+38)
16
OUT OF MEMORY
Either there is no more
room
for
program
and
program
variables, or there are loo
many DO,
FOR, or GOSUB
statements in effect
1
[
17
UNDEF'D STATEMENT A line number
referenced
doesn't exist in the
program
( f
1 (
16
BAD
SUBSCRIPT The program
tried
to
refer-
ence an element
of
an
array
out ol the
range specified by
ihe DIM
statement
1
f
f 1
1
1
19 REDIM'D
ARRAY An
array can only
be
DIMen-
stoned once. If
an array is
referenced before that
array
is DIMd.
an automatic
DIM
(to
10)
is performed
20
DIVISION
BY ZERO Division by
zero
is not
allowed
(
f
(
f
21
ILLEGAL DIRECT
INPUT or
GET statements are
only
allowed within a program.
I I
I
r
f
f
163

Other manuals for Commodore 16

Related product manuals