plusBASIC Error Messages - fvdhoef/aquarius-plus GitHub Wiki
This page is work in progress
See also : ERR Pseudo-Variable
Error Codes
1- NEXT without FOR2- Syntax3- RETURN without GOSUB4- Out of DATA5- Illegal quantity6- Overflow7- Out of memory8- Undefined line number9- Subscript out of range10- Duplicate definition11- Division by zero12- Illegal direct13- Type mismatch14- Out of string space15- String too long16- String formula too complex17- Can't continue18- Undefined user function19- Missing operand20- No RESUME21- RESUME without GOSUB22- Unprintable23- Line buffer overflow24- Statement not implemented25- Undefined line label26- ARGS without GOSUB27- Undimensioned array28- Too many operands29- Invalid mode30- Bad range31- Empty string32- String length49- Bad file50- File not found51- Too many files52- Invalid parameter53- Input past end54- File already exists55- I/O56- No disk57- Not empty
Below are the various error messages one may encounter from plusBASIC:
-
Syntax error-- the command you entered was not recognized by the system, or the structure of the command parameters was incorrect/incomplete. -
File not found error-- the path or file was not present on the SD card. In some cases this error will be returned if the SD card itself is not present. -
Illegal Quantity-- The value of an expression or the content of a string were invalid for the called function or statement. -
No disk error-- There is no SD Card present in the system. -
Duplicate Definition error-- Attempt to dimension an array variable that has already been dimensioned. -
Out of memory error-- There wasn't enough available memory to allocate the requested amount. -
Overflow error-- The calculation generated a result too large to be represented by the floating-point variable. -
Undefined line number error-- The plusBASIC interpreter encountered an out of sequence line number:- Line numbers must be in order:
- ✅ 100, 110, 111, 200, 251
- 🚫 300, 150, 500,
20
- Line numbers may be contiguous OR discontiguous:
- ✅ 100, 101, 102, 103
- ✅ 100, 257, 3001, 8699
- Line numbers must always increase:
- ✅ 100, 200, 500, 700
- 🚫 300,
299,298,297
- Line numbers may not be duplicated:
- 🚫 100, 110, 120,
110, 500,120
- 🚫 100, 110, 120,
- Line numbers must be in order: