The following subsections provide examples of simple conditional scripts.
Example 1 – Using One if Instruction
Example 2 – Using the if Instruction and its then and else Clauses
Example 3 – Using Nested if Instructions