TExprBuiltInManager.AddIntegerVariable function
Add integer variable to built-in collection
Declaration
function AddIntegerVariable(const ACategory: TBuiltInCategory;
const AName: ShortString; AValue: Integer)
: TFPBuiltInExprIdentifierDefArguments
ACategory | Category for the integer variable |
AName | Name of the integer variable |
AValue | Initial integer value |
Function result
Returns the added integer variable identifier
Description
The AddIntegerVariable method creates and adds a new integer built-in variable to the manager with the specified category, name, and integer value. The variable can then be referenced in expressions to retrieve the numeric value.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
