[Overview][Constants][Types][Classes][Index] |
Insert a key in the list
Source position: fgl.pp line 265
public procedure TFPSMap.InsertKey( |
Index: Integer; |
AKey: Pointer |
); |
Index |
|
Index at which position key must be inserted |
AKey |
|
Pointer to Key value to insert |
InsertKey will allocate a new slot in the list for a key value as pointed to by AKey, and copy the key pointed to by AKey to the slot.
If the maximum amount of values is reached or an invalid index is specified, InsertKey will raise an EListError exception.
|
Add a key, value pair to the map. |
|
|
Insert a new slot for key and associated data item in the list |
|
|
Insert a key and associated in the list |