Sign in Join
FPDoc Onlineexperiment

TFPDataHashTable.Add procedure

Member of TFPDataHashTablepublicIn unit Contnrs

Add a data pointer to the list.

Declaration

pascal
procedure Add(const aKey: AnsiString; AItem: pointer); virtual

Arguments

aKey

Key to insert in the hash table.

AItem

Data pointer associated with AKey.

Description

Add adds a data pointer ( AItem) to the list with key AKey.

Errors

If AKey already exists in the table, an exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.