pTAL Reference Manual (H06.08+)
Structures
HP pTAL Reference Manual—523746-006
9-46
Declaring Filler
Declaring Filler
A filler declaration allocates a byte or bit place holder in a structure.
FILLER
allocates the specified number of byte place holders.
BIT_FILLER
allocates the specified number of bit place holders.
constant-expression
is a positive integer constant value that specifies a number of filler units in one of
the following ranges:
You can declare filler bits and filler bytes, but you cannot access such filler locations.
If the structure layout must match a structure layout defined in another program, your
structure declaration need only include data items used by your program and can use
filler bits or bytes for the unused space.
Example 9-36. Declaring a Referral Substructure
STRUCT temp(
*
); ! Template structure --
BEGIN ! no space allocated
STRING a[0:2];
INT b;
STRING c;
END;
STRUCT .ind_struct; ! Definition structure --
BEGIN ! space allocated
INT header[0:1];
STRING abyte;
STRUCT abc (temp) [0:1]; ! Declare referral substructure
END; ! Size of ind_struct.abc[0] is
! 8 bytes
FILLER 0 through 32,767 bytes
BIT_FILLER 0 through 255 bits
constant-expression
;
VST026.vsd
FILLER
BIT_FILLER










