TAL Reference Manual
Procedures
TAL Reference Manual—526371-001
13-12
Usage Considerations
For more information on declaring, passing, and allocating parameters, see Section 11,
Using Procedures, in the
TAL Programmer’s Guide.
Table 13-1. Formal Parameter Specification
Formal Parameter Characteristics
Expected Actual
Parameter
Declare Formal
Parameter As:
Parameter
Type
Indirection
Symbol Referral
Simple variable A value or
reference
parameter
STRING *
INT
INT (32)
REAL
REAL (64)
FIXED (n)
FIXED (*)
Value, no;
reference, yes
No
Simple Variable A value
parameter
UNSIGNED No No
Array or simple
pointer
A reference
parameter
STRING
INT
INT (32)
REAL
REAL (64)
FIXED (n)
Yes No
Definition
structure. referral
structure, or
structure pointer
A reference
parameter
INT or STRING Yes Yes
Definition
structure, *
referral structure,
or structure
pointer
A reference
parameter
STRUCT Yes Yes
Constant
expression **
(including
@identifier)
A value
parameter
STRING
INT
INT (32)
UNSIGNED
REAL
REAL (64)
FIXED (n)
No No
Procedure A value
parameter
PROC
PROC (32) ***
No No
* These features are not supported in future software platforms.
** The data type of the expression and of the formal parameter must match, except that you can mix the
STRING, INT, and UNSIGNED (1–16) data types, and you can mix the =INT(32) and UNSIGNED(17–31)
data types.
*** PROC(32) is a D-series feature.