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

TExprBuiltInManager.AddStringVariable

Add string variable to built-in collection

Declaration

Source position: fpexprpars.pp line 822

public function TExprBuiltInManager.AddStringVariable(

  const ACategory: TBuiltInCategory;

  const AName: ShortString;

  const AValue: AnsiString

):TFPBuiltInExprIdentifierDef;

Arguments

ACategory

  

Category for the string variable

AName

  

Name of the string variable

AValue

  

Initial string value

Function result

Returns the added string variable identifier

Description

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


Documentation generated on: Dec 15 2025