Instance.PropertyArray.appendBoolean()
Signature
void appendBoolean (PropertyArrayBoolean arr, boolean value, long time)
Description
Creates a new propertyAtomBoolean of value with initial history timestamp time and appends to the end of the
PropertyArray. Use instanceX.arr[instanceX.arr@length] = value for appending with system current time.
Parameters
Name | Type | Description |
arr | PropertyArray | A PropertyArray to append an element to. |
value | boolean | A value to append to the PropertyArray, arr . |
time | long | The initial history timestamp. |
Cautions
Use instanceX.arr[instanceX.arr@length] = value for appending with system current time
Example
Instance.PropertyArray.appendBoolean (instanceA.booleanProperty, true, 1111111111111);
Instance.PropertyArray.appendBoolean (instanceA.booleanProperty, false, 1111111133333);
Result is: concept.booleanProperty
contains:
instanceA.booleanProperty[len-2] = {value=true,timestamp=1111111111111}
instanceB.booleanProperty[len-1] = {value=false,timestamp=1111111133333}