-
Notifications
You must be signed in to change notification settings - Fork 0
ERRORS
-
NEXT without FOR
ANEXTstatement was encountered for which no matchingFORcould 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 aDATAline if aREADstatement encounters a data entry of an incorrect format. -
RETURN without GOSUB
ARETURNstatement was encountered for which noGOSUBcall was made. -
Out of DATA
AREADstatement is attempting to read more data entries than can be found from the currentDATAlocation 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 theDIMstatement. -
Undefined variable
A simple variable was used without assigning it a value, or a control variable was used withNEXTfirst setting it up in aFORstatement, or a subscripted value was used before dimensioning the array withDIM. -
Address out of range
The value specified in aCLEARstatement 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,DRAWorPLOTwere used with parameters beyond the screen size. OrINPUThas 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 anOPENstatement. -
Undefined channel
Attempted to open a stream to an unrecognized channel. -
Undefined user function
TheFNfunction is called with a function name for which no definition was made by aDEF FNstatement. -
Line buffer overflow
There is not enough memory space left to enter the new program line. -
FOR without NEXT
AFORstatement was encountered for which no matchingNEXTstatement can be found. -
WHILE without WEND
AWHILEstatement was encountered for which no matchingWENDstatement can be found. -
WEND without WHILE
AWENDstatement was encountered for which no matchingWHILEstatement 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, orCHDIRstatement is executed referring to a (parent) path that does not exist on the disk device.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: