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