Instance.PropertyArray.clear()
Signature
void clear (PropertyArray arr)
Description
Removes all elements from arr
.
Parameters
Name | Type | Description |
arr | PropertyArray | A PropertyArray to clear all elements from. |
Example
Instance.PropertyArray.setInt (concept.intArrayProperty, 1, 111);
Instance.PropertyArray.setInt (concept.intArrayProperty, 2, 222);
Instance.PropertyArray.setInt (concept.intArrayProperty, 3, 333);
Instance.PropertyArray.clear (concept.intArrayProperty);
Result is: concept.intArrayProperty is empty