File: baserror.a

package info (click to toggle)
acme 1%3A0.96.2-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,360 kB
  • sloc: ansic: 8,071; makefile: 91; sh: 53
file content (51 lines) | stat: -rw-r--r-- 1,503 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
;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