Chapter
12
I
Error Messages
Number
11
12
13
14
15
16
17
Mess
age
Division by zero
An expression includes division by zero, or the oper-
ation of involution results in zero being raised to
a
negative power. BASIC supplies machine infinity
with the sign of the numerator as the result of the
division,
or
it
supplies positive machine infinity
as the result of the involution. Execution then
continues.
Illegal direct
A
statement
that
is
illegal
as
a command was en-
tered
at
BASIC’s prompt.
Type mismatch
A string variable name was assigned a numeric
value or vice versa.
A
string function was given a
numeric argument or vice versa.
Out of string space
The amount of memory used by string variables ex-
ceeded the amount of free memory.
String too long
An attempt was made to create
a
string more than
255
characters.
String formula too complex
A string expression
is
too long or too complex. The
expression should be broken into smaller
expressions.
Can’t continue
An attempt was made to continue a program that:
halted because of an error.
0
was modified during a break in execution.
0
does not exist.
367