##### 37.6.4.1 Understanding control-structure elements

The names of control-structure elements look almost identical to macro names. Avoid defining any macro of your own that has the same name as one of the control-structure elements listed in Table 37-8; the DITA2Go control-structure definition takes precedence.

Table 37-8 Predefined control-structure elements

Control element | Where used | Purpose | Ref.
    <$_break>
| Loop structure | Skip to the end of a loop | 37.6.4.3
    <$_continue>
| Loop structure | Jump back to the start of the next iteration | 37.6.4.3
    <$_else>
| Conditional expression | Introduce a final alternate condition | 37.6.4.2
    <$_elseif>
| Conditional expression | Introduce an intermediate alternate condition | 37.6.4.2
    <$_endif>
| Conditional expression | End a conditional expression | 37.6.4.2
    <$_endrepeat>
| Loop structure | End a count-down loop | 37.6.4.3
    <$_endwhile>
| Loop structure | End a logical loop | 37.6.4.3
    <$_if>,

    <$_if not>
| Conditional expression | Begin a conditional expression | 37.6.4.2
    <$_repeat>
| Loop structure | Begin a count-down loop | 37.6.4.3
    <$_until>
| Loop structure | Begin a logical loop | 37.6.4.3
    <$_while>
| Loop structure | Begin a logical loop | 37.6.4.3

Previous Topic: 37.6.4 Using control structures in expressions

Next Topic: 37.6.4.2 Using conditional expressions

Parent Topic: 37.6.4 Using control structures in expressions

Sibling Topics:

37.6.4.2 Using conditional expressions

37.6.4.3 Using loop structures

Table of Contents • Index