next up previous
Next: Implementation
Up: An overview of Web-O-Matic and WOM
Previous: Class definitions


The construct Array allows one to repeat a sequence of objects a specified number of times, altering this dynamically. An example is shown below, of a table whose number of rows can be set by entering a value into the first field.

<TR><TH>Number of rows:
    <TD><IntegerField nrows value=10 validity=value>0>
<Array a>
    <TR><TD><TextField t>
    (t>0) a~size[t] = nrows~value[t]

It may be useful to have other constructs of this kind, known for technical reasons as ``free class generators''.

Jocelyn Ireson-Paine
Sat Oct 12 23:35:52 BST 1996