- This topic has 0 replies, 1 voice, and was last updated 7 months ago by
CDesp.
Viewing 0 reply threads
-
AuthorPosts
-
-
12 July 2025 at 12:11 pm #3539::
Newbrain Basic Error Codes
002 "Arithmetic error,eg tried to divide by zero, arc sin of value >1" 003 No further statement to execute, but no END or STOP statement found 004 "Illegal line number (valid range is 1-65535)" 006 "Illegal value,eg when DIMensioning an array,valid range is 0-65535" 007 "Illegal array subscript value, subscript must be in the range 0 {1}...dimension" 010 "Out of memory" 014 "OPEN but it is not followed by # ,IN# or OUT#" 017 "Error in numeric function argument, eg LOG(x-""a"")" 019 "wrong number of subscripts in array element, eg DIM a(5) then refered to a(11,2)" 020 "expression wrongly, eg a$=2 n=""PQR""" 021 "something unrecognisable in an expression, eg x=a?3 or a semi-colon separating commands on the same line" 022 ERROR in EXPRESSION: Type mismatch [ STRING * NUMERIC ] 026 NAME of VARIABLE doesn't start with a LETTER 028 Switch VALUE in ON is 0 or greater than number of LINE numbers in LIST 029 Attempt to GOTO a LINE which doesn't exist 030 ERROR in input to an INPUT statement [ Prompt will repeated if from console ] 033 RETURN without corresponding GOSUB 034 GOTO or GOSUB not found where expected in ON 035 Hyphen or End of Line expected in LIST or DELETE 036 Bad INPUT [ i.e. Quotation mark not allowed in unquoted string input] 037 Can't TAB to COLUMN 0 038 Can't POKE a value outside 0...255 039 Insufficient DATA for READ 040 Illegal item in CALL parameter list 041 NEXT without FOR 042 Empty DATA line 044 Illegal Control Variable in FOR statement 045 Syntax ERROR in FOR or NEXT statement [ wrong nesting ] 046 TO not found where expected in FOR statement 047 STEP not found where expected in FOR statement 048 No NEXT statement found to match the current FOR statement 049 Illegal FOR - NEXT nesting 052 COMMA not found where expected [ e.g. in INPUT, Reply to INPUT or in DATA ] 053 End-of-Line not found where expected [ i.e. Reply to INPUT, LIST] 054 CLOSE not followed by # 055 "EQUALs signs not found where expected, or KEYWORD misspelt" 056 Open PARENTHESIS not found where expected 057 Closing PARENTHESIS not found where expected 058 EXT: Use of EXTERNAL subroutine as a function 059 EXT: Use of an EXTERNAL function as a subroutine 060 EXT: NAME of a requested EXTERNAL routine can't be found in LIBRARY 062 EXT: Attempt to use a function with a STRING result in a DEF statement 064 EXT: wrong TYPE of PARAMETER 065 No closing QUOTATION marks in a STRING constant [ response to INPUT ] 068 OPTION not followed by BASE 069 OPTION BASE used after DIMensioning ARRAY 070 OPTION BASE not followed by 0,1 071 DIMensioning of an ARRAY that already exists 072 Dimension too LARGE 073 Dimension 0 when OPTION BASE 1 specified 074 ERROR in FORMATTER other than RANGE ERROR 075 Number in FORMATTER not in RANGE 0...255 080 DEF not followed by FN 081 Illegal user defined FUNCTION NAME in DEF statement 083 No DEF statement for user defined function 084 REDEFINITION of userdefined function with different number of arguments or REFERENCE to an ARRAY with wrong number of DIMENSIONS 085 EXPRESSION to COMPLEX to evaluate, or user defined function references too deeply nested to evaluate 087 Can't CONTINUE 088 Illegal list of ARGUMENTS to CLEAR statement 090 DEVICE STREAM or PORT not in range 0...255 091 Failure to VERIFY 092 Can't CLOSE stream 0 093 ON ERROR or ON BREAK not followed by GOTO 094 LINE number 0 not allowed 095 VAL error - string is not a number 096 LINPUT numeric variable 097 Attempt to ON ERROR or ON BREAK to a non-existent line-number 098 PUT error 099 OUT of DATA 100 Insufficient MEMORY to OPEN stream 104 STRING too long [ Parameter string for OPEN longer than 256 Bytes] 105 STREAM not open 106 Attempt to OPEN a non-existant device 107 Attempt to OPEN a DEVICE/PORT that is already open 108 STREAM already open 109 Attempt to use a device function that doesn't exist [ INPUT from Printer] 110 Syntax ERROR in PARAMETER STRING 111 Attempt to OPEN device which requires MAINS POWER when no mains power connected 112 Insufficient MEMORY for FILL request 113 Linked STREAM not a SCREEN device 114 Requested HEIGHT too large for memory available by linked stream [ w150-159 =(L)110 + 10 Grf.-lines = 6 Ch.-lines// n86 = (L)141-150 +10 Grf.-lines = 5 Ch.-lines] 115 LINKED STREAM closed 116 POSITION OFF the screen illegal in this context 117 Unrecognized PLOT command or PEN parameter 118 Can't use INPUT from graphics device (use PEN instead) 119 Attempt to OUTPUT to graphics device before INPUT function completed 120 Syntax ERROR in BAUD parameter string 121 PORT number other than 0 for serial device 130 TAPE READ ERROR: HARDWARE failure [ TAPE dropout ] 131 TAPE READ ERROR: attempt to read BLOCK into BUFFER which is too small or HARDWARE failure 132 TAPE READ ERROR: HARDWARE failure [ Checksum error ] 133 Attempt to read past END of TAPE file, or HARDWARE failure 134 Attempt to read a TAPE file out of SEQUENCE, or HARDWARE failure 135 Attempt to OUTPUT to a TAPE file OPENed for INPUT or vice versa 136 TAPE: Syntax ERROR in PARAMETER string 150 CP/M: BAD FILENAME. Filename-parameter for device 12-15 syntactically incorrect 151 CP/M: INPUT ERROR. PHYSICAL DISC ERROR or END-OF-FILE on device 12 152 CP/M: OUTPUT ERROR. PHYSICAL DISC ERROR or DISC full 153 CP/M: DIRECTORY ERROR. FILE doesn't exist in DIR or physical DISC ERROR when reading DIR 154 CP/M: INITIALISATION ERROR. CP/M does not load. insufficient MEMORY or DISC fault 155 CP/M: TRANSACTION ERROR. With device 14,15 INPUT when OUTPUT was expected or vice versa 156 CP/M: Not PORT 0 for device 15 157 CP/M: FILENAME too LONG. Filename for device 15 too long 158 CP/M: TRANSACTION TYPE ERROR. Transaction number for dev. 15 illegal 159 CP/M: RANDOM TRANSPUT ERROR. Attempt to acess file beyond 9Mbytes, or length 0 specified 160 MMS: Attempt to CREATE more than 65205 MMS OBJECTS 161 MMS: Insufficient MEMORY on NEWOB 162 MMS: REQUEST for OBJECT larger than 65531 bytes 170 VIDEOMMS: Attempt to open more than 32 VIDEO areas 171 VIDEOMMS: Attempt to use more than 32K of VIDEO area or space available 192 SERIAL MEM.DEVICE: Read past END-OF-FILE 193 SERIAL MEM.DEVICE: Insufficient MEMORY 195 ACIA: Printer No. out of RANGE 197 SERIAL MEM.DEVICE: Read past END-OF-FILE 198 SERIALMEM.DEVICE: FILE already open 200 SOFTW.SER.PORT: TIME OUT ERROR on INPUT 206 ACIA: BUFFER doesn't exist 207 ACIA: ACIA OR BUFFER already in use 208 ACIA: BUFFER FULL or DATA couldn't be OUTPUT to ACIA 209 ACIA: Cannot use LP and V24 unless both are unbufferered 210 ACIA: BUFFER empty or no DATA to INPUT from ACIA 211 ACIA: Attempt to run 2 ACIA's on the same peripheral interface at differnt speeds 212 ACIA: Attempt to run multiplexed ACIA at more then 19200 baud 214 ACIA: Illegal ACIA or BUFFER number 215 ACIA: Illegal combination of DATA and STOP bits and PARITY requested 216 ACIA FRAMING error 217 ACIA overrun OR BUFFER overrun 218 ACIA PARITY ERROR 219 ACIA LOSS of CARRIER detected 220 ACIA number is on module that is not connected
-
-
AuthorPosts
Viewing 0 reply threads
- You must be logged in to reply to this topic.