pTAL Conversion Guide

Procedures, Subprocedures, and Procedure
Pointers
pTAL Conversion Guide527302-002
16-4
Procedure Syntax
proc-attribute
For descriptions of individual attributes (MAIN, INTERRUPT, and so on), see the
TAL Reference Manual or the pTAL Reference Manual.
param-spec
specifies the parameter type of a formal parameter and whether it is a value or
reference parameter, as described in the TAL Reference Manual.
proc-body
is a BEGIN-END construct that contains local declarations and statements, as
described in the TAL Reference Manual.
FORWARD
specifies that the procedure body is declared later in the compilation.
EXTERNAL
specifies that the procedure body is either declared in another compilation unit or
later in this compilation unit.
MAIN
INTERRUPT
RESIDENT
CALLABLE
PRIV
VARIABLE
( count )
EXTENSIBLE
RETURNSCC
OVERFLOW_TRAPS
NOOVERFLOW_TRAPS
LANGUAGE
C
COBOL
FORTRAN
PASCAL
UNSPECIFIED
VST635.vsd