Create packed array from normal array.
Source position: system.fpd line 90
procedure Pack( |
const A: UnpackedArrayType; |
StartIndex: TIndexType; |
out Z: PackedArrayType |
); |
Pack will copy the elements of an unpacked array (A) to a packed array (Z). It will start the copy at the index denoted by StartIndex. The type of the index variable StartIndex must match the type of the index of A. The elements are always transferred to the beginning of the packed array Z. (i.e. it starts at Low(Z)).
Obviously, the type of the elements of the arrays A and Z must match.
|
Create unpacked array from packed array. |