TAL Reference Manual

Error Messages
Appendix A—526371.001
A-11
26
26
More than one FORWARD declaration for the given procedure or subprocedure is
present. Declare a procedure or subprocedure FORWARD only once. Delete all
duplicate FORWARD declarations.
27
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
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, Arrays
.
Routine declared forward more than once
Illegal syntax
Illegal use of code relative variable