Add a boolean variable to the collection
Source position: fpexprpars.pp line 590
public function TFPExprIdentifierDefs.AddBooleanVariable( |
const AName: ShortString; |
AValue: Boolean |
AName |
|
The name of the boolean variable |
AValue |
|
The boolean value of the variable |
Returns the added boolean variable identifier
The AddBooleanVariable method creates and adds a new boolean variable identifier to the collection with the specified name and boolean value. The variable can then be referenced in expressions to retrieve the boolean value.