Enumerates a list of items. It is used to make loops in generated text.
Syntax
$DOLIST$ list
body
$END-DOLIST$
List is any list provided by VSdocman. See read-only macros. The body is any text that can appear inside macro body, that means also another macro call. Thus, $DOLIST$ macro may be nested.
Example |
$DOLIST$ $SEE-LINK-LIST$ The $LIST-ITEM-NUMBER$. item in See Also list is $LIST-ITEM-LABEL$. $END-DOLIST$ |
If $SEE-LINK-LIST$ contains 13 items, then 13 sentences are generated:
The 1. item in See Also ...
The 2. item in See Also ...
...
The 13. item in See Also ...