Add boolean variable to built-in collection
Source position: fpexprpars.pp line 818
public function TExprBuiltInManager.AddBooleanVariable( |
const ACategory: TBuiltInCategory; |
const AName: ShortString; |
AValue: Boolean |
ACategory |
|
Category for the boolean variable |
AName |
|
Name of the boolean variable |
AValue |
|
Initial boolean value |
Returns the added boolean variable identifier
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.