TAL Reference Manual
TAL Syntax Summary (Bracket-and-Brace Diagrams)
Appendix C—526371.001
C-7
LITERAL and DEFINE Declarations
•
Simple variables
•
Arrays and read-only arrays
•
Structures—definition structures, template structures, referral structures
•
Structure items—simple variables, arrays, substructures, filler bytes, filler bits,
•
simple pointers, structure pointers, and redefinitions
•
Simple pointers and structure pointers
•
Equivalenced variables
•
NAMEs and BLOCKs
•
Procedures and subprocedures
LITERAL and DEFINE Declarations
The following syntax diagrams describe LITERAL and DEFINE declarations.
LITERALs
A LITERAL associates an identifier with a constant.
DEFINEs
A DEFINE associates an identifier (and parameters if any) with text.
Simple Variable Declarations
The following syntax diagram describes simple variable declarations:
Simple Variables
A simple variable associates an identifier with a single-element data item of a specified
data type.
LITERAL identifier [ = constant ]
[ , identifier [ = constant ] ] . . . ;
DEFINE identifier [ ( param-name [ , param-name ] ... ) ]
= define-body #
[ , identifier [ ( param-name [ , param-name ] ... ) ]
= define-body # ] ... ;