Error
Messages
OPEN, CLOSE, INPUT,
PRINT,
RESTORE
11.
File-number
negative
or
greater
than
255
12.
N
umber-of-record5
in
the
SEQUENTIAL
option of
the
OPEN
statement
is non-numeric
or
greater
than
32767
13. Record-length in
the
FIXED
option of
the
OPEN
statement
is
greater
than
32767
POS
14.
The
numeric-expression in the
POS
statement
is negative, zero, or
larger
than
32767
SCREEN
15.
Screen
color-code out
of
range
SEC$
16.
The
value
of numeric-expression!
(character
position)
or
numeric-
expression2 (length of substring) is
negative or
larger
than
32767
SOUND
17. Duration, frequency, volume
or
noise
specification
out
of
range
TAB
18.
The
va
lue
of
the
character
position
is
greater
than
32767
in the TAB function
specification
..
CAN'T
DO
THAT
1.
RETURN
with no
previous
GOSUB
statement
2-
NEXT
with no previous
matchmg
FOR
statement
3.
The
control-variable in
the
NEXT
statement
does
not
match
the control-
variable in the previous
FOR
statement
4.
BREAK
command
with
no
line
number
* DATA ERROR
1. No
comma
between
items
in
DATA
statement
2.
Variable-list in
READ
statement
not
filled
but
no more DATA
statements
are
8v8ibhlfC
3.
READ
statement
with no DATA
statement
remaining
II1·tO
4.
Assigning a
string
value to a numeric
variable
in
a
READ
statement
5_
Line-number
in
RESTORE
statement
is
greater
than
the
highest line
number
in
the
prog,TQm
...
FILE
ERROR
I.
Attempting
to
CLOSE,
INPUT,
PRINT,
or
RESTORE
a file not
currently
open
2.
Attempting
to
INPUT
records
from a
tile
opened
as
OUTPUT
or
APPEND
3.
Attempting
to
PRINT
records
on a file
opened
as
INPUT
4
Attempting
to
OPEN
a file which is
already
open
* INCORRECT STATEMENT
General
I.
Opening
"(".
closing "j",
or
both missing;
'2
Comma
missing
3.
No line
number
where
expected
in a
BREAK,UNBREAK,orRESTORE
(BREAK
100.)
4. "+"
or
"
~"
not followed by a numeric
expression
S.
Ex:pl'essions
used
\With
arithmetic
operators
are
not numeric
6.
Expressions
used with relational
operators
are
not
the
same
type
7
Attempting
to
use
a
string
expression
as
a
subscript
8.
Attempting
to
assign
a
value
to
a
function
9.
Reserved
word
out
of
order
10.
Unexpected
arithmetic
or
relational
operator
is
present
11.
Expected
arithmetic
or
relational
operator
mis5ing
Built-in Subprograms
12.
In
JOYST,
the
x'return
and
y-return
are
not
numeric
variables
13. In KEY. the key-status is not a numeric
variable
14.
In
GCHAR
the
third specification
must
be a
numeric
variable
1S.
More
than
three
tone specifications or
marc
than one noise specification in
SOUND
16,
CALL
is not followed
by
a
subprogram
name
User's
Reference
Guide