TACL Programming Guide

STRUCT Declarations
Syntax Summary
107365 Tandem Computers Incorporated 9–15
STRUCT Declarations The following summarizes the forms of the #DEF function used to create and redefine
structured variables:
#DEF
variable
STRUCT
{}
BEGIN
declaration
[
declaration
] … END ;
LIKE
structure-identifier
;
type
identifier
[ VALUE
initial-value
] ;
type
identifier
(
lower-bound
:
upper-bound
)
[ VALUE
initial-value
] ;
STRUCT identifier [ ( lower-bound : upper-bound ) ] ;
{}
BEGIN declaration [ declaration ] … END ;
LIKE structure-identifier ;
FILLER
num
;
type
identifier
[ (
lower-bound
:
upper-bound
) ]
REDEFINES
previous-identifier
;