Page tree
Skip to end of metadata
Go to start of metadata
append anObject to anArray
SemanticsAppends an object to an array. The array does not necessarily have to be created beforehand (see Creating Arrays).
SubstitutablesanArrayCan be any variable or object attribute having the type Array
anObjectCan be any object.
append item1 to myArray;

This example shows how to append items to an array object. In the first step, the simple item objects are created. In the second step, the array myArray is created. Then, the items are appended to the array.
Creating the array before appending the items is actually not necessary, but if the array is not created, we need an additional input flow from the action node to the object node of myArray.

Figure: append Example

  • No labels