pTAL Reference Manual (H06.08+)

Data Representation
HP pTAL Reference Manual523746-006
3-21
Constant Lists
Constant Lists
A constant list is a list of one or more constants. You can use constant lists in:
initializations of array declarations that are not contained in structures
group comparison expressions
move statements
You cannot use constant lists in assignment statements
repetition-constant-list
repetition-factor
is an INT constant that specifies the number of times constant-list-seq
occurs.
constant-list-seq
is a list of one or more constants, each stored on an element boundary:
constant
is a character string, a number, or a LITERAL specified as a single
operand. The range and syntax for specifying constants depends on the
data type, as described for each data type on preceding pages.
repetition-constant-list
[
constant-list-seqFIELDALIGN-clause
]
repetition-constant-list
VST621.vsd
constant-list-seq
repetition-factor
*
[ ]
VST008.vsd
,
constant
repetition-constant-list
VST029.vsd