Insert a new item in the list.
Source position: fgl.pp line 157
public procedure TFPGList.Insert( |
Index: Integer; |
const Item: T |
); |
Index |
|
Position to insert item at. |
Item |
|
Item to insert in the list. |
Insert inserts a new item in the list at position Index. The index is zero based and must be less than Count.
If an invalid index is specified, an EListError exception is raised.
|
Indexed access to items in the list. |
|
|
Insert a new item in the list. |
|
|
Add a new item to the list. |