[Overview][Types][Classes][Index] |
Removes all associations where the Item class instance is unassigned (contains Nil).
Source position: objectlists.pas line 80
public procedure TObjectArray.Pack; |
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.
Version 4.0 | Generated 2025-05-03 | Home |