[Overview][Constants][Types][Classes][Index] |
Insert a new slot for key and associated data item in the list
Source position: fgl.pp line 276
public function TFPSMap.Insert( |
Index: Integer |
):Pointer; |
Index: Integer; |
out AKey: Pointer; |
out AData: Pointer |
); |
Index |
|
Index to insert new key, value pair |
Slot to add data to
Index |
|
Index to insert new key, value pair |
AKey |
|
Pointer to location for key value |
AData |
|
Pointer to location for data value |
Insert will allocate a new slot in the list. It returns a pointer to the new slot. If Akey and AData are given, then they will point to the positions in the slot for the key and data items.
If the maximum amount of values is reached or an invalid index is specified, Insert will raise an EListError exception.
|
Add a key, value pair to the map. |
|
|
Insert a key in the list |
|
|
Insert a key and associated in the list |