TAL Reference Manual
Procedures
TAL Reference Manual—526371-001
13-9
Formal Parameter Specifications
param-type
is the parameter type of the formal parameter. Table 13-1 on page 13-12 lists the
parameter types you can specify depending on the kind of actual parameter
expected for this formal parameter.
param-type can be one of:
width
is a constant expression that specifies the number of bits in the variable. The
constant expression can include previously declared LITERALs and DEFINEs.
The result of the constant expression must be one of the following values:
fpoint
is an integer in the range –19 through 19 that specifies the implied decimal
point position. The default is 0 (no decimal places). A positive
fpoint specifies
the number of decimal places to the right of the decimal point. A negative
fpoint
specifies a number of integer places to the left of the decimal point.
* (asterisk)
prevents scaling of the fpoint of a FIXED actual parameter to match the fpoint
in the parameter specification. Such scaling might cause loss of precision. The
called procedure treats the actual parameter as having an
fpoint of 0.
Data Type width
INT 16, 32, 0r 64
REAL 32 or 64
UNSIGNED A value in the range 1 through 31
UNSIGNED parameters must be passed by value; you cannot use
an indirection symbol (. or .EXT) with UNSIGNED parameters.
VST1307.vsd
INT
STRING
FIXED
UNSIGNED
REAL
STRUCT
fpoint
)
(
PROC (32)
width
)
(
width
)
(
*
PROC
type