Error Messages - Texas Instruments TI-99/4A User Reference Manual

Hide thumbs Also See for TI-99/4A:
Table of Contents

Advertisement

Error Messages
I. Errors Found When Entering a Line
.. DAD LINE NUMBER
1. Line number or line number referenced
equals
a
or is greater than 32767
2. RESEQUENCE
specifications generate
a line number greater than 32767
*
BAD NAME
1.
The variable name has more than 15
characters
*
CAN'T CONTINUE
1.
CONTINUE was entered with no
previous breakpoint or program was
edited since a breakpoint was taken.
*
CAN'T DO THAT
1.
Attempting to use the following program
statements as commands: DATA, DEF,
FOR
GOTO, GOSUB,
IF.
INPUT,
NEXT, ON, OPTION, RETURN
2.
Attempting to use the following
commands as program statements
(entered with a line number): BYE,
CONTINUE, EDIT, LIST, NEW.
NUMBER, OLD, RUN, SAVE
3.
Entering LIST. RUN, or SAVE with no
program
*
INCORRECT STATEMENT
1.
Two variable names in a row with no
valid separator between them (ABC A or
A$A)
2. A numeric constant immediately folloW's
a variable with no valid separator
between them (N 257)
3 A quoted string has no closing quote
mark
4,
Invalid print separator between numbers
in the LIST, NUMBER,
or
RESEQUENCE commands
5. Invalid characters following
CONTINUE, LIST, NUMBER,
RESEQUENCE, or RUN commands
6. Command keyword is not the first word
in
fI
line
7. Colon does not follow the device name in
a LIST command
' " LINE TUO LUNG
1. The input line is too long for the input
buffer
III·8
*
MEMORY FULL
1. Entf'ring
an
edit line which exceeds
available memory
2. Adding a line to a program causes the
program to
exceed
available memory
II. Errors Found When Symbol Table Is
Generated
When RUN is entered but before any program
lines are performed. the computer scans the
program in order to establish a symbol table. A
symbol table is an area of memory where the
variables, arrays, functions. etc" for a program
are stored. During this scanning process. the
computer recognizes certain errors in the
program. as listed below. The number of
th~
line containing the error is printed as part of the
message (for example:
*
BAD VALUE IN
100).
Errors in this section are distinguished from
those in section III. in that the screen color
remains cyan until the symbol table is
generated. Since no program lines have been
performed at this point, all the values in the
symbol table will be zero (for numbers) and null
(for strings).
*
BAD VALUE
1.
A dimension for an array is greater than
32767
2. A dimension for an array is zero when
OPTION BASE
= 1
*
CAN'T DO THAT
1.
More than one OPTION BASE
statement in your program
2. The OPTION BASE statement has a
higher line number than an array
definition
*
FOR·NEXT ERROR
1. Mismatched number of FOR and
NEXT
statements
*
INCORRECT STATEMENT
DEF
1. N a closing
' O r
after a parameter in a
DEF statement
2. Equals sign (
=)
missing in DEF
statement
3. Parameter in DEF statement is not a
valid variable name
User's Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents