Instance.PropertyArray.delete()
Signature
void delete (PropertyArray arr, int index)
Description
Deletes the array element in arr
located at index
and shifts any subsequent elements to the left (subtracts one from their indices).
Parameters
Name | Type | Description |
arr | PropertyArray | A PropertyArray to delete an element from. |
index | int | The index in the PropertyArray arr to delete. |
Example
inst.arr[0]=111;
inst.arr[1]=222;;
inst.arr[2]=333;
Instance.PropertyArray.delete (inst.arr, 1);
Result is: concept.intArrayProperty contains: {111, 333}