Sign in Join
FPDoc Onlineexperiment

UnPack procedure

In unit System

Create unpacked array from packed array.

Declaration

pascal
procedure UnPack(const Z: PackedArrayType; out A: UnpackedArrayType; 
 StartIndex: TIndexType)

Description

UnPack will copy the elements of a packed array ( Z) to an unpacked array ( A). All elements in Z are copied to A, starting at index StartIndex in A. The type of the index variable StartIndex must match the type of the index of A.

Obviously, the type of the elements of the arrays A and Z must match.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.