pTAL Reference Manual (H06.08+)
Procedures, Subprocedures, and Procedure
Pointers
HP pTAL Reference Manual—523746-006
14-17
Procedure Body
Guidelines:
•
Do not treat a procedure’s formal parameters as an implied array or implied
structure.
•
Do not index a parameter to access another parameter or local variable.
•
Do not perform block moves in which the source or destination spans more than
one parameter.
•
Do not pass the address of a value parameter to another procedure that expects
the address of an array or structure.
•
Do not proceed through a parameter list using indexing and address calculations.
Procedure Body
A procedure body can contain local declarations, subprocedure declarations, and
statements.
local-decl
is a declaration for one of:
•
simple variable
•
array (direct, indirect, or read-only)
•
structure (direct or indirect)
•
simple pointer
•
structure pointer
•
equivalenced variable
•
LITERAL
•
DEFINE
•
label
•
entry point
•
FORWARD subprocedure
BEGIN
local-decl
;
subproc-decl
;
VST061.vsd
statement
END










