Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 28 Working with macros > 28.6 Using expressions in macros > 28.6.4 Using control structures in expressions > 28.6.4.1 Understanding control-structure elements

#### 28.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 28-6; the Mif2Go control-structure definition takes precedence.

Table 28-6 Predefined control-structure elements

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

> 28 Working with macros > 28.6 Using expressions in macros > 28.6.4 Using control structures in expressions > 28.6.4.1 Understanding control-structure elements

| Mif2Go User's Guide: 28.6.4 Using control structures in expressions |  | Mif2Go User's Guide: 28.6.4.2 Using conditional expressions |