Sign in Join
FPDoc Onlineexperiment

TExprBuiltInManager.IndexOfIdentifier function

Member of TExprBuiltInManagerpublicIn unit fpExprPars

Find index of built-in identifier

Declaration

pascal
function IndexOfIdentifier(const AName: ShortString): Integer

Arguments

AName

Name of identifier to find

Function result

Returns index or -1 if not found

Description

The IndexOfIdentifier method searches for a built-in identifier with the specified name and returns its index position in the collection. If the identifier is not found, it returns -1. The search is case-sensitive.

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