Sign in Join
FPDoc Onlineexperiment

THashedStringList.IndexOf function

Member of THashedStringListpublicIn unit IniFiles

Returns the index of a string in the list of strings.

Declaration

pascal
function IndexOf(const S: string): Integer; override

Arguments

S

String to locate in the list.

Function result

Index of S or -1 if S is not in the list.

Description

IndexOf overrides the IndexOf method and uses the hash values to look for the location of S.

See also

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