Find the index of an identifier by name
Source position: fpexprpars.pp line 584
public function TFPExprIdentifierDefs.IndexOfIdentifier( |
const AName: ShortString |
):Integer; |
AName |
|
The name of the identifier to find |
Returns the index of the identifier or -1 if not found
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.