pTAL Guidelines for TAL Programmers
Differences Between TAL and pTAL
pTAL Guidelines for TAL Programmers—527256-002
3-7
Declaring Procedure Pointers
Declaring Procedure Pointers
The syntax of a procedure pointer declaration is:
return-type
specifies that the procedure is a function that returns a result and indicates the
data type of the returned result, and can be any of:
•
BADDR
•
CBADDR
•
CWADDR
•
EXTADDR
•
FIXED
•
FIXED [(scale )]
•
INT
•
REAL
•
REAL(64)
•
PROCADDR
•
SGWADDR
•
SGBADDR
•
SGXWADDR
•
SGXBADDR
•
STRING
•
UNSIGNED (width )
•
WADDR
scale
is a constant integer expression from -19 to 19.
width
is a constant integer expression from 1 to 31.
procptr-name
is the name of the procedure pointer.
return-type
PROCPTR
procptr-name
formal-param-spec
formal-param-names
attributes ;
END
PROCPTR
VST600.vsd