AddKeyNumber
This method creates a new property key and at the same time a value of the data type DINT.
Syntax
METHOD AddKeyNumber
VAR_IN_OUT CONSTANT
key : STRING;
END_VAR
VAR_INPUT
value : DINT;
END_VAR
Inputs
Name | Type |
---|---|
value | DINT |
/ Inputs/Outputs
Name | Type |
---|---|
key | STRING |
Sample call:
fbJson.AddKeyNumber('PropertyName', 42);