Specifications
Error Messages - 2
NUM MESSAGE EXPLANATION
12 <Illegal immediate> A statement that is illegal in Immediate Mode is entered as an Immediate
Mode command.
13 <Type mismatch> A string variable name is assigned a numeric value or vice–versa; a
function that expects a numeric argument is given a string argument or
vice versa.
14 <Out of string space> String variables have caused CAMBASIC to exceed the amount of free
memory remaining. CAMBASIC will allocate string space dynamically,
until it runs out of memory.
15 <String too long> An attempt is made to create a string in excess of 255 characters or a
string is too long for command limits.
16 <String too complex> A string expression is too long or too complex to be processed. It should
be broken down into smaller expressions.
17 <Can’t CONT> An attempt is made to continue a program that:
a. Has been halted due to an error.
b. Has been modified during a break in execution.
c. Does not exist.
18 <UNTIL w/o DO> An UNTIL statement has been encountered without a matching DO.
19 <Data out of range> A parameter for a statement is outside the allowable range.
20 <DO/FOR/GOSUB stack> A GOSUB/RETURN, FOR/NEXT, and/or DO/UNTIL loops are nested
too deep.
21 <Hardware> CAMBASIC is attempting to access an I/O device which is not connected
or is inoperative.
22 <System corruption> The card is trying to execute data rather than code. This error trap can
prevent some system crashes due to the modification of system RAM,
either inadvertently or through noise.
23 <Expected variable> Only a variable may be used as the parameter or argument.
24 <Can’t compile> CAMBASIC cannot compile the line because:
a. there are too many numeric constants,
b. a nonexistent line number is referenced,
c. a line or label is referenced that does not exist.
25 <RESUME w/o ON ERR> A RESUME was encountered without a corresponding ON ERR
statement.
26 <Data negative> The argument or parameter may not be negative.