Add float variable to built-in collection
Source position: fpexprpars.pp line 820
public function TExprBuiltInManager.AddFloatVariable( |
const ACategory: TBuiltInCategory; |
const AName: ShortString; |
AValue: TExprFloat |
ACategory |
|
Category for the float variable |
AName |
|
Name of the float variable |
AValue |
|
Initial float value |
Returns the added float variable identifier
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.