pTAL Conversion Guide

Data Representation
pTAL Conversion Guide527302-002
4-3
Constant Lists
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 (see Table 4-1 on page 4-1).
FIELDALIGN-clause
specifies how you want the compiler to align the base of the structure and fields in
the structure. The offsets of fields in a structure are aligned relative to the base of
the structure.
SHARED2
specifies that the base of the structure and each field in the structure must
begin at an even byte address except STRING fields, which can begin at any
byte address, and UNSIGNED fields.
SHARED8
specifies that the offset of each field in the structure from the base of the
structure must begin at an address that is an integral multiple of the width of
the field.
,
constant
repetition-constant-list
VST029.vsd
FIELDALIGN SHARED2
SHARED8
( )
VST065.vsd