[Overview][Constants][Types][Classes][Index] |
Add a new item to the list
Source position: fgl.pp line 71
public function TFPSList.Add( |
Item: Pointer |
):Integer; |
Item |
|
Pointer to the item to be added. |
The index at which the item was added.
Add adds the item pointed to by Item to the list. It is not the pointer Item itself which is added to the list, but rather the TFPSList.ItemSize bytes of memory to which Item is pointing.
The function returns the index of the newly added item.
If the maximum list size is reached, an EListError is raised.
|
Delete an item from the list |
|
|
Items in the list |
|
|
Clear the list |