IF-THEN statements are the simplest form of
IF. The statements between
END IF are executed if the condition is
TRUE. Otherwise, they are skipped.
This example uses
IF-THEN statement to test and display employees who have a commission:
The following is the output from this program: