[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Add a new key/data pair to the list
Source position: contnrs.pp line 233
public function TFPHashList.Add( |
const AName: shortstring; |
Item: Pointer |
):Integer; |
AName |
|
Key name associated with data. |
Item |
|
Data pointer |
Position of the new item in the list
Add adds a new data pointer (Item) with key AName to the list. It returns the position of the item in the list.
If not enough memory is available to hold the key and data, an exception may be raised. If an item with this name already exists in the list, an exception is raised.
|
Extract a pointer from the list |
|
|
Remove first instance of a pointer |
|
|
Delete an item from the list. |
No notes exist for this page yet.