Instance.PropertyArray.appendLong()
Signature
void appendLong (PropertyArrayLong arr, long value, long time)
Description
Creates a new propertyAtomLong 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 | long | 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.appendLong (instanceA.longProperty, 111L, 1111111111111);
Instance.PropertyArray.appendLong (instanceA.longProperty, 222L, 1111111133333);
Result is: instanceA
contains:
instanceA.longProperty[len-2] = {value=111L,timestamp=1111111111111}
instanceA.longProperty[len-1] = {value=222L,timestamp=1111111133333}