EasyManua.ls Logo

Commodore VIC-20 - Page 349

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...
APPENDIX
Error
Messages
VIC
20
error messages may be displayed in response to almost anything
you key in at the keyboard. They may also appear when your program
is
running. This appendix lists
anc~
explains error messages issued by the VIC
BASIC interpreter and by the operating system.
Whenever the VIC BASIC interpreter detects
an
error, it displays a
diagnostic message, headed by a question mark, in the general form
?message
ERROR
IN LINE number
where message
is
the type of error (listed alphabetically below) and number
is
the line number in the program where the error occurred (not present in
immediate mode). Following any error message, VIC BASIC returns to
immediate mode and displays the READY prompt.
Here
is
an
alphabetical list of error messages accompanied by a two-part
description that explains the cause of the error and possible ways
of
correct-
ing it.
BAD SUBSCRIPT
An attempt was made to reference an array element
that
is
outside the
dimensions
of
the array. This can result from specifying the wrong
number
of
dimensions (different from the
DIM
statement), using a
subscript larger than specified in the
DIM
statement,
or
using a sub-
script larger than
10
for a nondimensioned array.
Correct the array element number to remain within the original
dimensions
or
change the array size to allow more elements.
335

Other manuals for Commodore VIC-20

Related product manuals