AddBool
![AddBool 1:](Images/jpg/13473766027__Web.jpg)
This method adds a value of the data type BOOL to a property. Usually, a corresponding property was created beforehand with the method AddKey().
Syntax
METHOD AddBool
VAR_INPUT
value : BOOL;
END_VAR
Inputs
Name | Type |
---|---|
value | BOOL |
Sample call:
fbJson.AddKey('bSwitch');
fbJson.AddBool(TRUE);