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

TExprBuiltInManager.AddIntegerVariable

Add integer variable to built-in collection

Declaration

Source position: fpexprpars.pp line 819

public function TExprBuiltInManager.AddIntegerVariable(

  const ACategory: TBuiltInCategory;

  const AName: ShortString;

  AValue: Integer

):TFPBuiltInExprIdentifierDef;

Arguments

ACategory

  

Category for the integer variable

AName

  

Name of the integer variable

AValue

  

Initial integer value

Function result

Returns the added integer variable identifier

Description

The AddIntegerVariable method creates and adds a new integer built-in variable to the manager with the specified category, name, and integer value. The variable can then be referenced in expressions to retrieve the numeric value.


Documentation generated on: Dec 15 2025