TFPExprIdentifierDefs.AddBooleanVariable¶
Add a boolean variable to the collection
Declaration¶
Source position: fpexprpars.pp line 590
public
function TFPExprIdentifierDefs.AddBooleanVariable
(const AName: ShortString;
AValue: Boolean)
: TFPExprIdentifierDef;
Description¶
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.