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

TFPExprIdentifierDefs.AddIntegerVariable

Add an integer variable to the collection

Declaration

Source position: fpexprpars.pp line 591

public function TFPExprIdentifierDefs.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.


Documentation generated on: Dec 15 2025