Next: WHILE - Instruction Up: The Language Previous: IF - Instruction

### IF - THEN - Instruction :

           IF ( numeral or numeral formula )
           {
              any sequence of commands
           }
           THEN
           {
              any sequence of commands
           }

If the result of the expression in brackets is different from 0, the first block is executed. If the result is 0, the second block is executed.

Please note that an exclamation mark to terminate the blocks is not necessary.