acme/ACME_Lib/cbm/baserror.a
2016-08-08 14:48:00 +00:00

52 lines
1.5 KiB
Plaintext

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