AT&T 6300 Programmer's Manual page 675

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

CODE
OV
OM
UL
BS
DD
/0
Error Codes
NUMBER
MESSAGE
6
Overflow
The result of a calculation is too large to be
represented in GWBASIC number format.
If
underflow occurs, the result is zero and exe-
cution continues without an error.
7
Out of memory
A program is too big, or has too many loops,
subroutines, variables; or has expressions
that are too complicated to evaluate
8
Undefined line number
A nonexistent line is referenced in a GOTO,
GOSUB,
IF ... THEN ... ELSE,
or
DELETE statement.
9
Subscript out of range
An array element is referenced either with a
subscript that is outside the dimensions of
the array or with the wrong number of
subscripts.
10
Duplicate Definition
Two DIM statements are given for the same
array; or a D1M statement is given for an
array after the default dimension of 10 has
been established for that array; or an
OPTION BASE is given after an array has
been dimensioned.
11
Division by zero
A division by zero is encountered in an
expression; or, the value zero has been raised
to a negative power. In the former case, the
result is machine infinity (with the appropri-
ate sign); in the latter case, the result is posi-
tive machine infinity.
D·5

Advertisement

Table of Contents
loading

Table of Contents