Sign in Join
FPDoc Onlineexperiment

TList.IndexOf function

Member of TListpublicIn unit Classes

Returns the index of a given pointer.

Declaration

pascal
function IndexOf(Item: Pointer): Integer

Description

IndexOf searches for the pointer Item in the list of pointers, and returns the index of the pointer, if found.

If no pointer with the value Item was found, -1 is returned.

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