When an error occurs, one of the error messages listed below will be displayed. For errors which occur during program execution, the error message is followed by the line number in which the error occurred. The error number and the line number are stored into the variables ERN and ERL, respectively.
Return to Help TOP
| Error message | Error No. | Meaning |
|---|---|---|
| Syntax error | 10 | Invalid expressions or statements have been used. |
| Mode error | 12 | The mode selection in the OPEN statement was incorrect. |
| Overflow | 20 | The calculated result exceeds the calculation range. |
| Division by Zero | 21 | An attempt was made to divide by zero. |
| Illegal function call | 22 | Illegal operation was attempted. |
| Duplicate Definition | 30 | An attempt was made to declare an array variable name which is already declared. |
| Array specified without DIM | 31 | The array variable name was specified without the DIM statement. |
| Subscript out of range | 32 | Array was addressed illegally(array subscript exceeds the size of the array specified in the DIM statement) |
| Data out of range | 33 | The specified value exceeds the allowable range. |
| GOSUB or FOR nesting exceeded | 50 | The levels of nesting in the GOSUB or FOR statement exceeds the allowable range. |
| RETURN without GOSUB | 51 | An attempt was made to execute the RETURN statement without calling the subroutine. |
| NEXT without FOR | 52 | The FOR statement is missing for the NEXT statement. |
| Out of data | 53 | The DATA statement is missing for the READ statement. |
| Buffer space exceeded | 54 | The size of the BASIC interpreter exceeds the available work area. |
| String too long | 55 | The length of the entered string exceeds 255 bytes. |
| RESUME without error | 57 | An attempt was made to execute the RESUME statement during non-error processing. |
| Out of memory | 60 | The size of program or variable exceeds the memory capacity. |
| Can't print in specified format | 70 | Characters cannot be printed in the format specified in the USING statement. |
| USING format error | 71 | The format specified in the USING statement is illegal. |
| Bad drive name | 75 | The specified drive name is illegal. |
| Disk full | 77 | No further memory storage available, or the size of files exceeds the limit. |
| File not open | 85 | The file has not been opened. |
| File already open | 86 | The file has already been opened. |
| Input past end | 87 | An attempt was made to read data past the end of file. |
| Type mismatch | 90 | The type of the specified data does not match. |
| File not found | 94 | The specified file does not exist. |
| Bad file name | 95 | The specified file name is illegal. |
| Low Battery error | 100 | Can not Operate in Low Battery. |