Single Type Arrays

Single Type Arrays

Thus far we have used this tag frequently:

ACORN 1.0 IWML 1.0
Page[]
  SimpleStack[]
    Text One
    Text Two
    Text Three
  ]
]

There is a shorter form in cases where all the children of a layout:

  1. All of the same control type
  2. All controls use parameters only.

In such a case, the control type can be specified in the layout tag:

While this syntax is very limited in where it is applicable, it is very useful in some cases. It is most often used to construct paragraphs using the text control but can be used in other scenarios.