If...Then Statement
Brian Element
The If...Then statement, or If statement for short, is used in a program to execute a block of code if a specified logical condition is True. If condition is True, the statements in the block (indicated by block1) are executed. If condition is False, they are not executed.