-
Notifications
You must be signed in to change notification settings - Fork 0
ERRORS
-
NEXT without FOR
ANEXT
statement was encountered for which no matchingFOR
could be found. -
Syntax error
The BASIC syntax is incorrect. A statement or expression was mistyped or called in one of many incorrect ways. This error is also raised on aDATA
line if aREAD
statement encounters a data entry of an incorrect format. -
RETURN without GOSUB
ARETURN
statement was encountered for which noGOSUB
call was made. -
Out of DATA
AREAD
statement is attempting to read more data entries than can be found from the currentDATA
location onward. -
Illegal function call
A statement, function or operator was called with parameters outside the accepted range. This error is also raised for a large variety of other conditions - check the reference for the statement or function called. -
Overflow
A numeric expression result or intermediate value is too large for the required number format. -
Out of memory
There is not enough free BASIC memory to complete the operation. Too much memory is consumed by the program; variables, arrays and strings, or execution stacks for loops, subroutines or user-defined functions. -
Undefined line number
A reference is made to a line number that does not exist in the program. -
Subscript out of range
An array index (subscript) is used that is outside the range reserved for that array by theDIM
statement. -
Undefined variable
A simple variable was used without assigning it a value, or a control variable was used withNEXT
first setting it up in aFOR
statement, or a subscripted value was used before dimensioning the array withDIM
. -
Address out of range
The value specified in aCLEAR
statement is either too big or too small. -
Statement missing
A jump was attempted to a statement that no longer exists. -
Type mismatch
The expression used is of a type that cannot be converted to the required type for the function or statement. Most commonly, this is raised if a string argument is supplied to a statement or function that expects a number, or the opposite. -
Out of screen
CIRCLE
,DRAW
orPLOT
were used with parameters beyond the screen size. OrINPUT
has generated more than 23 lines in the lower part of the screen. -
Bad I/O device
File handling report. -
Undefined stream
Attempted to read or write from a stream that has not been defined with anOPEN
statement. -
Undefined channel
Attempted to open a stream to an unrecognized channel. -
Undefined user function
TheFN
function is called with a function name for which no definition was made by aDEF FN
statement. -
Line buffer overflow
There is not enough memory space left to enter the new program line. -
FOR without NEXT
AFOR
statement was encountered for which no matchingNEXT
statement can be found. -
WHILE without WEND
AWHILE
statement was encountered for which no matchingWEND
statement can be found. -
WEND without WHILE
AWEND
statement was encountered for which no matchingWHILE
statement can be found. -
File not found
A named file on a disk device cannot be found. -
Input past end
An attempt is made to retrieve input from a file that has passed its end of file. -
Path not found
AnOPEN
,MKDIR
,RMDIR
, orCHDIR
statement is executed referring to a (parent) path that does not exist on the disk device.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: