TRS-80
MODEL
III
Explanation
of Error
Messages
NT
NEXT without FOR:
NEXT is used without a matching
FOR
statement. This
error may also
occur if NEXT variable
statements are reversed
in a nested
loop.
SN Syntax
Error: This
usually is the result of incorrect
punctuation, open
parenthesis,
an illegal
character or
a
mis-spelled
command.
RG RETURN without
GOSUB: A RETURN
statement was encountered before
a
matching
GOSUB was executed.
OD Out
of Data. A READ or
INPUT
#
statement was executed
with insufficient
data available.
DATA
statement may have been left
out or all data may have
been read from tape
or DATA.
FC
Illegal Function
Call: An attempt was
made to execute an operation using
an
illegal parameter.
Examples: square
root of a negative argument, negative
matrix dimension,
negative or
zero LOG arguments, etc. Or USRcall without
first POKEing
the entry
point.
OV Overflow:
The magnitude
of the number input or derived is
too large for the
Computer to handle.
NOTE: There is no underflow
error. Numbers smaller
than
±
1 .70141 IE-
38 single precision
or
±
1
.70141
1834544556E- 38
double precision
are rounded
to 0. See /0 below
.
OM Out of Memory:
All available memory has
been used or reserved. This
may
occur with
very large matrix
dimensions, nested branches
such as GOTO,
GOSUB
,
and FOR-NEXT
Loops
.
UL Undefined Line:
An attempt was made
to
refer or branch
to a non-existent
line.
BS Subscript
out of Range: An attempt was made
to assign a matrix element
with a subscript
beyond
the DIMensioned range.
DD Redimensioned
Array:
An attempt
was
made to DIMension
a matrix which
had previously
been dimensioned
by DIM or by default statements
. It is a
good idea
to put all dimension
statements
at
the beginning
of a program.
/0
Division
by Zero:
An attempt was made
to use
a value
of zero in the
denominator. NOTE:
If you can't find an obvious division
by zero check
for
division by numbers smaller
than allowable
ranges.
See
OV
above
and
RANGES page 22 1
.
ID Illegal Direct:
The use of INPUT as
a
direct
command
.
TM Type Mismatch:
An attempt
was made to assign a non-string variable
to a
string or vice-
versa.
224