TAL Reference Manual

Procedures
TAL Reference Manual526371-001
13-17
Subprocedure Body
subproc-body
is a BEGIN-END construct that contains sublocal declarations and statements, as
described in Subprocedure Body
on page 13-17.
FORWARD
means the subprocedure body is declared later in this procedure.
Subprocedure Body
A subprocedure body can contain sublocal declarations and statements.
sublocal-decl
is a declaration for one of:
Simple variable
Array (direct or read-only)
Structure (direct only)
Simple pointer
Structure pointer
Equivalenced variable
LITERAL
DEFINE
Label
Entry point
statement
is any statement described in Section 12, Statements.
Usage Considerations
Section 11, “Using Procedures,” in the TAL Programmer’s Guide describes:
How the compiler allocates storage for subprocedures and their parameters
How you call subprocedures
VST1313.vsd
BEGIN
;
sublocal-decl
;
statement
END
;