Use "IF" and "ELSE" verbs for conditional command blocks; ending the last block with a dot.
IF Condition Statement block ... ELSE IF Condition Statement block ... ELSE Statement block ... .
For case statments compare an Expression to a list of constants using the same format as conditional comparison lists. The Expression can be either an integer or enumerated type.
IF Expression is Value | Value | ... Statement block ... ELSE IS Value | Value | ... Statement block ... ELSE Statement block ... .
Note that with nested blocks the final dots may be placed on the same line as in this example:
IF Name = "ALPHA" Alpha += 1 ELSE IF Name = "BETA" Beta += 1 ELSE Unknown += 1 IF Unknown is 1 to 10 | 20 | 30 Low += 1 ELSE Limit = Unknown . .