TAL Reference Manual
Error Messages
Appendix A—526371.001
A-7
12
•
A CALL statement passes a value parameter to a procedure that expects a
reference parameter. Replace the parameter indicated by
parameter-number with
a reference parameter.
•
A CODE statement includes indirect branches such as the following. Remove any
indirect branches from the CODE statement.
CODE (BANZ .test1);
!Some code here
test1: CODE (CON @test2);
12
The following conditions can cause this error:
•
One or more procedure declarations appear within another procedure declaration.
Either replace the nested procedures with subprocedures or move the nested
procedures outside the encompassing procedure.
•
The identifier of a procedure declared as a parameter does not appear in the
parameter list. Add the procedure identifier to the parameter list. For example:
PROC myproc (a); !Q is missing from parameter list
INT a;
PROC q; !Q is declared as parameter
BEGIN
!Lots of code
END;
13
•
A value of a data type other than INT appears where only INT values are
permitted. Specify INT values in this context.
•
An index of a data type other than INT appears for an equivalenced address.
Specify an INT index for the equivalenced address.
Nested routine declaration(s)
Only 16-bit INT value(s) allowed