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;
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.