TExprBuiltInManager.AddFloatVariable¶
Add float variable to built-in collection
Declaration¶
Source position: fpexprpars.pp line 820
public
function TExprBuiltInManager.AddFloatVariable
(const ACategory: TBuiltInCategory;
const AName: ShortString;
AValue: TExprFloat)
: TFPBuiltInExprIdentifierDef;
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.