Sign in Join
FPDoc Onlineexperiment

TExprBuiltInManager.IdentifierByName function

Member of TExprBuiltInManagerpublicIn unit fpExprPars

Get identifier by name with exception on not found

Declaration

pascal
function IdentifierByName(const AName: ShortString)
: TFPBuiltInExprIdentifierDef

Arguments

AName

Name of identifier to retrieve

Function result

Returns the found identifier

Description

The IdentifierByName method retrieves a built-in identifier by name from the manager. Unlike FindIdentifier, this method raises an exception if the identifier is not found, making it suitable when the identifier is expected to exist.

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