Exploring the Conditional Control Structure
The conditional control structure is used to conditionally execute a set of instructions. The syntax for the condition control structure, in its simplest form, is given as
If condition Then Instruction1 Instruction2 ... InstructionN End If
Here condition is a Boolean expression, one that evaluates to either True or False. If condition evaluates to True, instructions Instruction1 through InstructionN are executed. If condition evaluates to False, Instruction1 through InstructionN are skipped and therefore are not executed.
Conditional statements are commonly referred to as If statements.
Recall from ...