Conditional Expressions
$ IF condition THEN statement
$ IF condition THEN $ statement
Notes:
Conditional expressions provide logical control based on conditions you specify.
In this form, the IF-THEN structure can be stated on a single line or it can be continued across two or more lines.
In either case, the “$” after THEN is optional.