Sign in Join
FPDoc Onlineexperiment

TFPHashList.FindIndexOf function

Member of TFPHashListpublicIn unit Contnrs

Return index of named item.

Declaration

pascal
function FindIndexOf(const AName: RawByteString): SizeInt

Arguments

AName

Key value to look for.

Function result

Index of the key.

Description

FindIndexOf returns the index of the key AName, or -1 if the key does not exist in the list. It uses the hash value to search for the key. Note that Nil data pointers will result in -1 as well.

See also

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