List

The process List is a container for other processes. Children can be added to it by using braces. Its children can be reached by their index, starting to 1, through a dotted notation. Moreover, a List has two special children named $added and $removed that contains a reference to the last child that has been, respectively, added or removed. These special children are reference properties. The additional size child, contains the number of children.

Constructor

List <id>

Action

Activates all its children from top to bottom, in-depth first.

Predefined children

$added, $removed and size.

Example


List myList {
  Rectangle r1 (...)
  Rectangle r2 (...)
  Rectangle r3 (...)
}

frame.width => myList.2.width