RISCOS.com

www.riscos.com Technical Support:
BBC BASIC Reference Manual

 


Appendix C - Error messages


Note that error numbers 20 to 24 cannot be formed in BASIC VI.

Error number Error message
0Corruption of stack
Error control status not found on stack for RESTORE ERROR
HELP has no information on this keyword
Incorrect in-core file description
Invalid LISTO option
Invalid TWINO option
Line too long
Line numbers larger than 65279 would be generated by this renumber
LIST/TWIN found line number reference
Missing incore name
No room
No room to do this renumber
Stopped
1No such mnemonic
No such suffix on EQU
2Assembler limit reached
Bad address offset
Bad immediate constant
Bad shift
3Bad register
Duplicate register in multiply
4Missing =
Missing = in FOR statement
Mistake
5Missing ,
6Type mismatch: array needed
Type mismatch: numeric array needed
Type mismatch: number needed
Type mismatch: numeric variable needed
Type mismatch: string array needed
Type mismatch: string needed
Type mismatch: string variable needed
Type mismatch between arrays
Can't assign to array of this size
Array type mismatch as parameter
Can't SWAP arrays of different types
7Not in a function
8Too low a value for $<number>
9Missing "
10Arrays cannot be redimensioned
Bad DIM statement
Can't DIM negative amount
DIM() function needs an array
Impossible dimension
No end of dimension list )
No room to do matrix multiple with
source(s) the same as destination
11Attempt to allocate insufficient memory
No room for this DIM
No room for this dimension
12Items can only be made local in a function or procedure
13Not in a procedure
14Reference array incorrect
Undimensioned array
Unknown array
Unknown array in DIM() function
15Incorrect number of subscripts
Subscript out of range
16Syntax error
17Escape
18Division by zero
19String too long
20Number too big
Number too big for arc Sine or arc Cosine
21Negative root
22Logarithm range
23Accuracy lost in Sine/ Cosine/
Tangent
24Exponent range
26Can't use array reference here
Unknown or missing variable
27Missing )
Missing ]
Missing {
Missing }
28Bad Binary
Bad Hex
Hex number too large
29No such function/procedure
30Bad call of function/procedure
31Arguments of function/procedure incorrect
Invalid array actual parameter
Invalid RETURN actual parameter
32Not in a FOR loop
33Can't match FOR
34Bad FOR control variable
35The step cannot be zero
36Missing TO
38Not in a subroutine
39ON syntax
40ON range
41No such line
42DATA pointer not found on stack for RESTORE DATA
42Out of data
43Not in a REPEAT loop
44Too many nested structures
45Missing #
46Not in a WHILE loop
47Missing ENDCASE
48CASE..OF statement must be the last thing on a line
48OF missing from CASE statement
49Missing ENDIF
50Bad MOUSE variable
51Too many input expressions for SYS
Too many output variables for SYS
52Can't install library
Bad program used as function/procedure library
No room for library

This edition Copyright © 3QD Developments Ltd 2015
Last Edit: Tue,03 Nov 2015