TFPHashList.Add function
Add a new key/data pair to the list.
Declaration
function Add(const AName: RawByteString; Item: Pointer): SizeIntArguments
AName | Key name associated with data. |
Item | Data pointer. |
Function result
Position of the new item in the list.
Description
Add adds a new data pointer (
Item) with key
AName to the list. It returns the position of the item
in the list.Errors
If not enough memory is available to hold the key and data, an exception may be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
