Commodore 2001-8 User Manual page 117

Table of Contents

Advertisement

10GOSUB10
RUN
?OUT OF MEMORY ERROR IN 10
READY.
?FRE(O)
7156
OVERFLOW··Numbers resulting from computations or input that are larger than 1.70141184 E
+
38 cannot
be represented in BASIC's number format. Underflow is not a detectable error but less than 2.93873587
E·39
are
indistinguishable from zero.
?1E40
?OVERFLOW ERROR
READY.
REDIM'D ARRAY··After a matrix was dimensioned, another dimension statement forthe same matrix was
encountered. For example, an array variable is defined by default when it is first used, and later a DIM
statement is encountered.
A(5) = 6
DIM A(10,10)
?REDIM'D ARRAY ERROR
READY.
REDO FROM START--Is not actually a fatal error printed in the standard format but is a diagnostic printed
when data in response to INPUT is alpha when a numeric quantity is required.
10 INPUT A
RUN
?ABC
?REDO FROM START
?
INPUT continues to function until acceptable data has been received. The complement to this diagnostic
on files is BAD DATA ERROR which is fatal.When not enough data has been typed in response to INPUT,
a double? is printed until enough data is received.
10 INPUT A,B,C
RUN
?1
??2
??3
READY.
RETURN WITHOUT GOSUB··A RETURN statement was encountered without a previous GOSUB
statement being executed.
CLR
RETURN
?RETURN WITHOUT GOSUB ERROR
STRING TOO LONG--Attempt by use of the concatenation operator to create a string more than 255
characters long.
A$='A'
FOR 1=1 TO 10:A$=A$+A$:NEXT
?STRING TOO LONG ERROR
READY.
SYNTAX··BASIC cannot recognize the statement you have typed. Caused by such things as missing
parenthesis, illegal characters, incorrect punctuation, mispelled keyword.
116

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pet 2001-8

Table of Contents