TFPHashList.IndexOf function
Return the index of the data pointer.
Declaration
function IndexOf(Item: Pointer): SizeIntArguments
Item | Data pointer to search for. |
Function result
Index of
Item in the list.
Description
IndexOf returns the index of the first occurrence of pointer
Item.
If the item is not in the list, -1 is returned.
The performed search is linear, and not very efficient.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
