The examples below are based on the following class structure:
Object
input is of type Container having a string array called
myList
and an array called
myComplexList . The latter one holds elements of type ContainerElement , which in turn contain the integer attribute
number.
set input.myList[index] = "changed";
set input.myComplexList[index].number = 4711;
set input.myList[input.myList.count()-1] = "changed";
set input.myComplexList[input.myComplexList.count()-1].number = 4711;