Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.AddStringVariable function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Add a string variable to the collection

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.