TFPExprIdentifierDefs.IdentifierByName¶
Get an identifier by name
Declaration¶
Source position: fpexprpars.pp line 586
public
function TFPExprIdentifierDefs.IdentifierByName
(const AName: ShortString)
: TFPExprIdentifierDef;
Description¶
The IdentifierByName method retrieves an identifier by name from the collection. Unlike FindIdentifier, this method raises an exception if the identifier is not found, making it suitable for cases where the identifier is expected to exist.