AddBool

AddBool 1:

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

AddBool 2: Inputs

Name

Type

value

BOOL

Sample call:

fbJson.AddKey('bSwitch');
fbJson.AddBool(TRUE);