| 1 |
;ACME 0.95.1 |
| 2 |
|
| 3 |
!ifdef lib_cbm_baserror_a !eof |
| 4 |
lib_cbm_baserror_a = 1 |
| 5 |
|
| 6 |
; i/o error 0 (BREAK) is mapped to basic error 30 |
| 7 |
; codes 1 through 9 are the same for i/o and basic errors: |
| 8 |
baserror_TOO_MANY_FILES = 1 |
| 9 |
baserror_FILE_OPEN = 2 |
| 10 |
baserror_FILE_NOT_OPEN = 3 |
| 11 |
baserror_FILE_NOT_FOUND = 4 |
| 12 |
baserror_DEVICE_NOT_PRESENT = 5 |
| 13 |
baserror_NOT_INPUT_FILE = 6 |
| 14 |
baserror_NOT_OUTPUT_FILE = 7 |
| 15 |
baserror_MISSING_FILE_NAME = 8 |
| 16 |
baserror_ILLEGAL_DEVICE_NUMBER = 9 |
| 17 |
; from here on basic errors only: |
| 18 |
baserror_NEXT_WITHOUT_FOR = 10 |
| 19 |
baserror_SYNTAX = 11 |
| 20 |
baserror_RETURN_WITHOUT_GOSUB = 12 |
| 21 |
baserror_OUT_OF_DATA = 13 |
| 22 |
baserror_ILLEGAL_QUANTITY = 14 |
| 23 |
baserror_OVERFLOW = 15 |
| 24 |
baserror_OUT_OF_MEMORY = 16 |
| 25 |
baserror_UNDEFD_STATEMENT = 17 |
| 26 |
baserror_BAD_SUBSCRIPT = 18 |
| 27 |
baserror_REDIMD_ARRAY = 19 |
| 28 |
baserror_DIVISION_BY_ZERO = 20 |
| 29 |
baserror_ILLEGAL_DIRECT = 21 |
| 30 |
baserror_TYPE_MISMATCH = 22 |
| 31 |
baserror_STRING_TOO_LONG = 23 |
| 32 |
baserror_FILE_DATA = 24 |
| 33 |
baserror_FORMULA_TOO_COMPLEX = 25 |
| 34 |
baserror_CANT_CONTINUE = 26 |
| 35 |
baserror_UNDEFINED_FUNCTION = 27 |
| 36 |
baserror_VERIFY = 28 |
| 37 |
baserror_LOAD = 29 |
| 38 |
baserror_BREAK = 30 |
| 39 |
; basic 3.5 and higher: |
| 40 |
baserror_CANT_RESUME = 31 |
| 41 |
baserror_LOOP_NOT_FOUND = 32 |
| 42 |
baserror_LOOP_WITHOUT_DO = 33 |
| 43 |
baserror_DIRECT_MODE_ONLY = 34 |
| 44 |
baserror_NO_GRAPHICS_AREA = 35 |
| 45 |
baserror_BAD_DISK = 36 |
| 46 |
; basic 7 and higher: |
| 47 |
baserror_BEND_NOT_FOUND = 37 |
| 48 |
baserror_LINE_NUMBER_TOO_LARGE = 38 ; for RENUMBER |
| 49 |
baserror_UNRESOLVED_REFERENCE = 39 ; for RENUMBER |
| 50 |
baserror_UNIMPLEMENTED_COMMAND = 40 ; for OFF and QUIT |
| 51 |
baserror_FILE_READ = 41 |