TFPExprIdentifierDefs.AddCurrencyVariable¶
Add a currency variable to the collection
Declaration¶
Source position: fpexprpars.pp line 593
public
function TFPExprIdentifierDefs.AddCurrencyVariable
(const AName: ShortString;
AValue: Currency)
: TFPExprIdentifierDef;
Description¶
The AddCurrencyVariable method creates and adds a new currency variable identifier to the collection with the specified name and currency value. The variable can then be referenced in expressions to retrieve the monetary value.