TExprBuiltInManager.AddStringVariable function
Add string variable to built-in collection
Declaration
function AddStringVariable(const ACategory: TBuiltInCategory;
const AName: ShortString;
const AValue: AnsiString)
: TFPBuiltInExprIdentifierDefArguments
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
