Conditional statements evaluate an expression and run a block of script steps depending on the result.
| Statement | Description |
|---|---|
| Case | Contains a value that is compared to the resulting value of an expression in a Select...Case statement. |
| Else | Runs an alternate block of statements when an If or ElseIf statement condition is False. |
| ElseIf | A combination of If and Else statements. Runs an alternate block of statements when an If statement condition is False and an alternate condition is True. |
| If | Conditionally runs a block of statements based on the value of an expression (True or False). |
| Select...Case | Performs one of several blocks of statements for a condition with more than two outcomes. Compares the result of an expression against values in one or more Case statements. |