TAL Reference Summary
Error Messages
TAL Reference Summary
096256 Tandem Computers Incorporated 83
27 Illegal syntax
A statement or the line preceding it contains one or more syntax errors. For example,
the following conditions can cause error 27, followed by error 0, which terminates
compilation:
A misplaced or missing semicolon; for example:
PROC myproc !Place semicolon here
BEGIN; !Remove this semicolon
INT num; sum; !Replace first semicolon with comma
num := 2 !Place semicolon here
sum := 5;
END;
A reserved word appears as an identifier in the formal parameter list of a
procedure declaration. Replace the identifier with a nonreserved identifier.
An incorrect conditional expression appears in an IF statement or IF expression.
Correct the expression.
28 Illegal use of code relative variable
A read-only array appears in an incorrect context, such as:
On the left side of an assignment operator (:=)
On the left side of a move operator (':=' or '=:')
On the left side of a group comparison expression
You can use a normal array instead. For the syntax of arrays, see Section 7.
29 Illegal use of identifier
name
An identifier appears in the formal parameter specification of a procedure or
subprocedure declaration but not in the formal parameter list. Either include the
identifier in the formal parameter list or remove the identifier from the formal
parameter specification.
30 Only label or USE variable allowed
A DROP statement specifies an incorrect identifier. In the DROP statement, specify
the identifier of a label or a USE statement variable.