Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.AddFloatVariable function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Add a float variable to the collection

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.