TFPExprIdentifierDefs.IndexOfIdentifier function
Find the index of an identifier by name
Declaration
function IndexOfIdentifier(const AName: ShortString): IntegerArguments
AName | The name of the identifier to find |
Function result
Returns the index of the identifier or -1 if not found
Description
The IndexOfIdentifier method searches the collection for an identifier with the specified name and returns its index position.
If no identifier with the given name is found, it returns -1.
The search is case-sensitive.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
