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

TFPExprIdentifierDefs.AddStringVariable

Add a string variable to the collection

Declaration

Source position: fpexprpars.pp line 594

public function TFPExprIdentifierDefs.AddStringVariable(

  const AName: ShortString;

  const AValue: AnsiString

):TFPExprIdentifierDef;

Arguments

AName

  

The name of the string variable

AValue

  

The string value of the variable

Function result

Returns the added string variable identifier

Description

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


Documentation generated on: Dec 15 2025