The macro language supports the basic if-then-else pattern as follows:
If expression1
code1
ElsIf expression2
code2
...
ElsIf expressionN
codeN
Else
codeDefault
End
The first expression that evaluates to true will have its corresponding code block executed.
NOTE: both the spelling ElsIf and ElseIf are allowed.
Previous Chapter Control Flow |
<< index >> |
Next Chapter Loops |