TAL Reference Manual

TAL Syntax Summary (Bracket-and-Brace Diagrams)
Appendix C—526371.001
C-17
Procedures
public-name-spec has the form:
= " public-name "
parameter-list has the form:
( { param-name } [ , { param-name } ] ... )
{
param-pair } { param-pair }
param-pair has the form:
string : length
proc-attrib is one of:
{ MAIN | INTERRUPT }
{ RESIDENT }
{ CALLABLE | PRIV }
{ VARIABLE | EXTENSIBLE [ ( count ) ] }
{ LANGUAGE { C } }
{ COBOL }
{ FORTRAN }
{ PASCAL }
{ UNSPECIFIED }
param-spec has the form:
param-type [ . ] param-name [ ( referral ) ]
[ .EXT ]
[ , [ . ]
param-name [ ( referral ) ] ] ... ;
[ .EXT ]
param-type is one of:
{ STRING }
{ { INT | REAL } [ (
width ) ] }
{ UNSIGNED (
width ) }
{ FIXED [ (
fpoint | * ) ] }
{ STRUCT }
{ [
type ] { PROC | PROC(32) } }
proc-body has the form:
BEGIN [ local-decl ; ] ...
[
subproc-decl ; ] ...
[
statement [ ; statement ] ... ]
END ;