AddBool
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);