#### 37.6.4 Using control structures in expressions

DITA2Go provides predefined loop and conditional control structures for use in macro expressions. You cannot nest loop or conditional structures; instead, the outer macro must invoke another macro for the inner loop or conditional test.

In this section:

§37.6.4.1 Understanding control-structure elements

§37.6.4.2 Using conditional expressions

§37.6.4.3 Using loop structures

Previous Topic: 37.6.3 Displaying expression results in output

Next Topic: 37.6.4.1 Understanding control-structure elements

Parent Topic: 37.6 Using expressions in macros

Sibling Topics:

37.6.1 Understanding macro expressions

37.6.2 Understanding operands and operators

37.6.3 Displaying expression results in output

37.6.5 Specifying substrings in expressions

37.6.6 Using list variables in expressions

37.6.7 Using indirection in expressions

37.6.8 Removing spaces from strings: an example