TExprBuiltInManager.AddCurrencyVariable function
Add currency variable to built-in collection
Declaration
function AddCurrencyVariable(const ACategory: TBuiltInCategory;
const AName: ShortString; AValue: Currency)
: TFPBuiltInExprIdentifierDefArguments
ACategory | Category for the currency variable |
AName | Name of the currency variable |
AValue | Initial currency value |
Function result
Returns the added currency variable identifier
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
