TExprBuiltInManager.AddFloatVariable function
Add float variable to built-in collection
Declaration
function AddFloatVariable(const ACategory: TBuiltInCategory;
const AName: ShortString; AValue: TExprFloat)
: TFPBuiltInExprIdentifierDefArguments
ACategory | Category for the float variable |
AName | Name of the float variable |
AValue | Initial float value |
Function result
Returns the added float variable identifier
Description
The AddFloatVariable method creates and adds a new floating-point built-in variable to the manager with the specified category, name, and float value. The variable can then be referenced in expressions to retrieve the floating-point value.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
