Sign in Join
FPDoc Onlineexperiment

TFPList.Add function

Member of TFPListpublicIn unit Classes

Adds a new pointer to the list.

Declaration

pascal
function Add(Item: Pointer): Integer

Description

Add adds a new pointer to the list after the last pointer (i.e. at position Count, thus increasing the item count with 1. If the list is at full capacity, the capacity of the list is expanded, using the Expand method.

To insert a pointer at a certain position in the list, use the Insert method instead.

See also

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