27.5.6 Using list variables in expressions
For SGML, you might want to generate lists, such as lists by level of elements above the current element (its "ancestors"); see §27.3 Using multiple-value list variables.
In an expression, the following construct:
returns the value of the index for the current paragraph format in <$$mylist>, or 0 (zero) if missing; and:
($$mylist[$$level] is $$_paratag)
You can set the list item with a normal assignment:
<$$mylist[$$level] = $$_paratag>
> 27 Working with Mif2Go macros > 27.5 Using expressions in macros > 27.5.6 Using list variables in expressions
