Skip to content

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;

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.