[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Removes Nil pointers from the list and frees unused memory.
Source position: classesh.inc line 219
public procedure TFPList.Pack; |
Pack removes all nil pointers from the list. The capacity of the list is then set to the number of pointers in the list. This method can be used to free unused memory if the list has grown to very large sizes and has a lot of unneeded nil pointers in it.
|
Clears the pointer list. |
lazarus-ccr.sourceforge.net |