1
List of error codes generated by the compiler
2
---------------------------------------------
4
The following error codes appear in the "splat" column of the compiler's
5
listing. Only the first "splat" encountered in a statement is listed.
7
000 Something wrong, for which there isn't a more specific splat code
8
072 Label number out of range (less than 1 or greater than 65535); also
9
attempt to use computed label in a context which forbids it.
10
081 Missing "DO" or "PLEASE"
12
093 Missing "<-" in something which would otherwise look like an assignment
13
100 Double-oh-seven value out of range (greater than 100)
14
112 Missing bits after "ENSLAVE"
15
116 Missing bits after "FREE"
16
199 Syntax error in constant, or out of range (greater than 65535)
17
201 Incorrect (American) spelling of "ENROL" frowned upon by the compiler.
18
202 Missing bits after "ENROL".
19
218 Statement template error in postprocessor directive
20
241 Mixing arrays and values (e.g. dimensioning a scalar register, or
21
using an array without subscripts etc.)
22
242 Incomplete worm (missing "-" after "+")
23
252 Missing bits after "STUDY"
24
299 Invalid register syntax, or number out of range (greater than 65535,
25
or less than 1 - except for the special case of @0 inside overloading)
26
398 Odd number of sparks in an expression
28
458 Label defined multiple times
30
999 No lectures before 1000 please
32
The following are fatal compiler errors - the compiler terminates, and the
33
code generation is aborted.
35
012 Cannot open output file
36
013 Wrong syntax in the Perl compiler call
37
015 Cannot do horrible things to your Perl namespace
38
109 Invalid character in string
39
110 Cannot open input file
40
111 Compiler cannot guess input character set (or file type)
41
444 Perl program attempted to remove INTERCAL compiler
42
666 Problem with black magic inside the compiler
44
In addition, a 458 (label defined multiple times) can be detected during
45
linking, in which case it becomes fatal.
48
List of errors generated by the runtime
49
---------------------------------------
51
The following are fatal errors, and cause the current thread to terminate.
52
The code is available to other threads using the "splat" expression.
54
003 Too many command-line argument (max is usually 2), or invalid switch
55
012 Cannot open output file
56
013 Wrong syntax calling the runtime library
57
015 Cannot do horrible things to your Perl namespace
58
109 Invalid character in string
59
110 Cannot open input file
60
111 Character set not supported
61
129 Label not defined in NEXT or STUDY
62
241 Assignment of arrays to expressions (during overloading)
63
241 Mixing arrays, scalars, and classes in unsupported ways
64
241 Subscript out of range or other subscript errors
65
275 Assignment to constant (this happens when assigning to an overloaded
66
register, if there is a constant somewhere in the overload expression)
67
275 Assignment to a register which is too small to hold the value
68
275 Assignment to an expression leads to an unsolvable equation
69
401 Deprecated feature used (e.g. NEXT, which is just like an old-fashioned
70
GOTO and should therefore be avoided); see the compiler's and runtime's
71
documentation for ways around this.
72
436 Attempting to RETRIEVE something which wasn't STASHed
73
456 No splat - using "*" before it contains a value.
74
512 Attempting to treat a free register as a slave
75
533 One of the two values to interleave does not fit in 16 bits
76
555 Multiple "COME FROM"s with the same label (if the ThreadedINTERCAL
77
parser was used, the runtime automatically traps this error and
78
creates new threads instead)
80
621 FORGET or RESUME with a value of 0 is a bit pointless
81
623 FORGET or RESUME with a value larger than the stack size
82
633 Falling off the edge of the program.
83
774 Compiler error (aka Random Bug)
84
774 Genetic error (problem during the internal function "clone")
85
799 Attending lectures during holidays (or asking for a subject which is
87
801 FINISH LECTURE outside a lecture
88
822 Attempting to ask a non-student to learn something
89
823 Attempting to ask a student to learn something not in his curriculum
90
997 Input record too long during string input.
92
In addition, running a program with compile errors can generate the
93
corresponding error at runtime.
95
Errors 072 and 999 can be generated at runtime if the label was not constant.