Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPExprIdentifierDefs.AddFloatVariable

Add a float variable to the collection

Declaration

Source position: fpexprpars.pp line 592

public function TFPExprIdentifierDefs.AddFloatVariable(

  const AName: ShortString;

  AValue: TExprFloat

):TFPExprIdentifierDef;

Arguments

AName

  

The name of the float variable

AValue

  

The float value of the variable

Function result

Returns the added float variable identifier

Description

The AddFloatVariable method creates and adds a new floating-point variable identifier to the collection with the specified name and float value. The variable can then be referenced in expressions to retrieve the floating-point value.


Documentation generated on: Dec 15 2025