TAL Reference Summary

Error Messages
TAL Reference Summary
84 096256 Tandem Computers Incorporated
31 Only PROC or SUBPROC identifier allowed
A CALL statement specifies an incorrect identifier. In the CALL statement, specify the
identifier of a procedure, subprocedure, or entry point.
32 Type incompatibility
This message indicates one of the following conditions:
An expression contains operands of different data types. To make the types
match, use type-transfer standard functions or specify constants correctly. For
example, for an INT(32) constant, use the D suffix.
A procedure without a return type occurs on the right side of an assignment
statement. Specify only a function in this context.
Either a procedure is declared INT and its FORWARD declaration is declared
INT(32), or a procedure is declared INT(32) and its FORWARD declaration is
declared INT. Make the data type in both declarations match.
A RETURN statement has no return value and the correct number of words for a
return value is not in the register stack. In an INT procedure, for example, specify
an INT value in the RETURN statement.
A RETURN statement specifies a return value of the wrong data type. Specify the
correct data type.
An undeclared variable prefixed by @ is passed as an actual parameter. The
compiler treats the undeclared variable as a label, so if the allocated size of the
formal parameter does not match that of the label address, the compiler issues the
error. Declare the variable before passing it as a parameter.
A character string is assigned to a FIXED or REAL(64) variable. Change the value
from a character string, or change the data type.
33 Illegal global declaration(s)
A declaration occurs for an item (such as a label) that cannot be a global item. At the
global level, you can declare LITERALs, DEFINEs, simple variables, arrays, structures,
simple pointers, structure pointers, and equivalenced variables.
34 Missing variable
A required variable is missing from the current statement. Specify all variables shown
as required in the syntax diagrams in this manual.