TNamedItemList.IndexOfName function
Find index of named item
Declaration
function IndexOfName(const AName: string): IntegerArguments
AName | Name to search for |
Function result
Index of found item or -1 if not found
Description
Searches for an item with the specified name and returns its zero-based index in the list. Returns -1 if no item with the given name is found.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
