Floating point numbers, integers and bit patterns can be packed by specifying a range of values or by explicitly specifying the number of bits that should be used to store the data. Booleans are always stored using one bit. Unused trailing array elements will not be stored when an array depends on an index variable. In that case only as many array elements will be stored as specified by the index variable.
For example, the array definition NHITS(NTRACK)
defines NHITS
to depend on the index variable NTRACK
.
When NTRACK
is 16, the elements NHITS(1..16)
are stored,
when NTRACK
is 3, only elements NHITS(1..3)
are stored, etc.