Add a key, value pair to the map.
Source position: fgl.pp line 275
| public function TFPSMap.Add( | 
| AKey: Pointer; | 
| AData: Pointer | 
| AKey: Pointer | 
| ):Integer; | 
| AKey | 
 | Pointer to key to add to list. | 
| AData | 
 | Pointer to data to add to list. | 
Slot in the list for the key and data.
| AKey | 
 | Pointer to key to add to list. | 
Add adds the memory pointed to by AData to the map using the memory pointed to by AKey as the key. If no data is specified, it allocates a slot for AKey and returns a pointer to that slot.
If the maximum amount of values is reached, Add will raise an EListError exception.
| 
 | Insert a new slot for key and associated data item in the list. | |
| 
 | Index of key pointed to by AKey. |