| [Overview][Constants][Types][Classes][Index] | 
Search an item in the list
Source position: fgl.pp line 83
public function TFPSList.IndexOf(  | 
Item: Pointer  | 
):Integer;  | 
Item  | 
  | 
Pointer to item to search for.  | 
Position in the list (0-based)
IndexOf searches in the list for the item pointed to by Item, and returns the position (0-based index) of the item in the list, or -1 if it was not found. The items are compared using sysutils.CompareMem, so an exact memory layout match.
  | 
delete an element from the list  |