13 Type mismatch
A numeric value has been presented where a string value is required. and vice versa, or an invalidly
formed number has been found in READ or INPUT .
14 String space full
So many strings have been created that there is no further room available, even after ‘garbage
collection’.
15 String too long
String exceeds 255 characters in length. May be generated by adding a number of strings together.
16 String expression too complex
String expressions may generate a number of intermediate string values. When the number. of these
values exceeds a reasonable limit, BASIC gives up, and this error results.
17 Cannot CONTinue
For one reason or another the current program cannot be restarted using CONT. Note that CONT is
intended for restarting after a STOP command, [ESC][ESC] or error, and that any alteration of the
program in the meantime makes a restart impossible.
18 Unknown user function
No DEF FN has been executed for the FN just invoked.
19 RESUME missing
The end of the program has been encountered while in Error Processing Mode (ie in an ON ERROR
GOTO routine).
20 Unexpected RESUME
RESUME is only valid while in Error Processing Mode (ie in an ON ERROR GOTO routine).
21 Direct command found
When loading a program from cassette a line without a line number has been found.
22 Operand missing
BASIC has encountered an incomplete expression.
23 Line too long
A line when converted to BASIC internal form becomes too big.
24 EOF met
An attempt has been made to read past end of file on the cassette input stream.
25 File type error
The cassette file being read is not of a suitable type. OPENIN is only prepared to open ASCII text
files. LOAD, RUN etc, are only prepared to deal with the file types produced by SAVE .
26 NEXT missing
Cannot find a NEXT to match a FOR command.
27 File already open
An OPENIN or OPENOUT command has been executed before the previously opened file has been
closed.
28 Unknown command
BASIC cannot find a taker for an external command.
29 WEND missing
Cannot find a WEND to match a WHILE command.
30 Unexpected WEND
Encountered a WEND when not in a WHILE loop, or a WEND that does not match the current
WHILE loop.
BASIC Keywords
The following are the BASIC keywords, they are reserved and cannot be used as variable names.