| Chapter 3- Data Types and Operators | Boolean Expressions Page 2 3 4 |
| The If Statement Page 2 3 4 5 6 7 8 9 | |
| Arithmetic Operations Page 2 3 4 5 6 | Boolean Operators and Nested If Statements Page 2 3 4 5 6 7 |
| Events and Sequential Processing Page 2 3 4 5 | More Examples Page 2 3 4 5 6 7 8 9 10 11 12 |
| Datatypes and Conversions Page 2 3 4 5 6 7 | Using Check Box and Option Controls Page 2 3 4 5 6 7 8 9 10 |
| Variable Declarations - Local and Global Page 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Exercises Page 2 3 4 5 6 7 8 |
| Chapter 4- Selection Statements | Review Questions |
| Introduction | |
4-3: If Statements
The Complete If
Statement
The full range of possibilities for a block If statement consist of
If (booleanValue) Then
at least
one statement
ElseIf (booleanValue) Then
at
least one statement
ElseIf (booleanValue) Then
at least one statement
... (more ElseIf
statements)
Else
at least one
statement
End If
The (multiple) ElseIf statements and (single) Else statement are all optional. Lets look at this code in action now.