Add currency variable to built-in collection
Source position: fpexprpars.pp line 821
public function TExprBuiltInManager.AddCurrencyVariable( |
const ACategory: TBuiltInCategory; |
const AName: ShortString; |
AValue: Currency |
ACategory |
|
Category for the currency variable |
AName |
|
Name of the currency variable |
AValue |
|
Initial currency value |
Returns the added currency variable identifier
The AddCurrencyVariable method creates and adds a new currency built-in variable to the manager with the specified category, name, and currency value. The variable can then be referenced in expressions to retrieve the monetary value.