ALGOL COMPILATION DIAGNOSTICS Syntax errors discovered by the ALGOL Compiler are indicated by five (5) asterisks and an error number on the line below the one containing the error. The symbol "^" appears below the symbol which caused the error. Due to the syntactic structure of ALGOL and the Compiler, it is possible for an error to introduce errors. Therefore, error messages after the first in a program may be spurious. Error Code Description 1 More than 2 characters used in an ASCII constant 2 @ not followed by an octal digit 3 Octal constant greater than 177777 4 Two decimal points in one number 5 Non integer following apostrophe 6 Label declared but not defined in program 7 Number required but not present 8 Missing END 10 Undefined identifier 11 Illegal symbol 12 Procedure designator must be followed by left parenthesis 13 Parameter types disagree 14 Name parameter may not be an expression 15 Parameter must be followed by a comma or right parenthesis 16 Too many parameters 17 Too few parameters 18 Array variable not followed by a left bracket 19 Subscript must be followed by a comma or right bracket 20 Missing THEN 21 Missing ELSE 22 Illegal Assignment 23 Missing Right Parenthesis 24 Proper procedure not legal in Arithmetic Expression 25 Primary may not begin with this type quantity 26 Too many subscripts 27 Too few subscripts 40 Too many external symbols 41 Declarative following statement 42 No parameters declared after left parenthesis 43 REAL, INTEGER, or BOOLEAN illegal with this declaration 44 Doubly defined identifier or reserved word found 45 Illegal symbol in declaration 46 Statement started with illegal symbol 47 Label not followed by a colon 48 Label is previously defined 49 Semicolon expected as terminator 50 Left arrow or := expected in SWITCH declaration 51 Label entry expected in SWITCH declaration 52 Real number assigned to integer 53 Constant expected following left arrow or := 54 Left arrow or := expected in EQUATE declaration 55 Left bracket expected in array declaration 56 Integer expected in array dimension 57 Colon expected in array dimension B-1 Error Code Description 58 Upper bound less than lower bound in array 59 Right bracket expected at end of array dimensions 60 Too many values for array initialization 61 Array size excessive (set to 2047) 62 Constant expected in array initialization 63 Too many parameters for procedure 64 Right parenthesis expected at end of procedure parameter list 65 Procedure parameter descriptor missing 66 VALUE parameter for procedure not in list 67 Illegal TYPE found in procedure declaration 68 Illegal description in procedure declaratives 69 Identifier not listed as procedure parameter 70 No type for variable in procedure parameter list 71 Semicolon found in a format declaration 72 Left parenthesis expected after I/O declaration name 73 Right parenthesis expected after I/O name parameters 74 Undefined label reference 75 Switch identifier not followed by a left bracket 76 Missing right bracket in switch designator 77 THEN missing in IF statement 78 DO missing in WHILE statement 79 FOR variable must be of type INTEGER 81 STEP symbol missing in FOR clause 82 UNTIL symbol missing in FOR clause 83 DO symbol missing in FOR clause 84 Parenthesis expected in READ/WRITE statement 85 Comma expected in READ/WRITE statement 86 Free field format (*) illegal with WRITE 87 Unmatched left bracket in I/O statement list 100 Program must with BEGIN, REAL, INTEGER or PROCEDURE 999 Table areas have overflowed, program is discontinued B-2