TObjectArray.Pack procedure
Removes all associations where the Item class instance is unassigned (contains Nil).
Declaration
procedure PackDescription
Pack is a procedure used to remove all associations where the Item
class instance is unassigned (contains
Nil). Pack iterates over the
allocated storage in
List to determine if the
T2Pointer.Item member is unassigned. When an an unassigned item is
found, subsequent associations are moved to fill the storage position(s) for
any unused items. Pack updates the value in the
Count property to
reflect the new number of associations in List.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
