IF-THEN: Conditional execution of program segment.

syntax:
:IF condition
:THEN
:command if true
:command if true
:END
:command

IF-THEN is used for testing and branching. IF-THEN executes a group of commands if condition is true (nonzero). If condition is false (zero), then the group of commands is skipped. END identifies the end of the group.