AddKeyBool

AddKeyBool 1:

This method creates a new property key and at the same time a value of the data type BOOL.

Syntax

METHOD AddKeyBool
VAR_IN_OUT CONSTANT
  key   : STRING;
END_VAR
VAR_INPUT
  value : BOOL;
END_VAR

AddKeyBool 2: Inputs

Name

Type

value

BOOL

AddKeyBool 3:/AddKeyBool 4: Inputs/Outputs

Name

Type

key

STRING

Sample call:

fbJson.AddKeyBool('bSwitch', TRUE);