Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.AddIntegerVariable function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Add an integer variable to the collection

Declaration

pascal
function AddIntegerVariable(const AName: ShortString; AValue: Integer)
: TFPExprIdentifierDef

Arguments

AName

The name of the integer variable

AValue

The integer value of the variable

Function result

Returns the added integer variable identifier

Description

The AddIntegerVariable method creates and adds a new integer variable identifier to the collection with the specified name and integer value. The variable can then be referenced in expressions to retrieve the numeric value.

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