Learn Visual Basic in FREE step-by-step lessons.
Boolean Expressions in Visual Basic
A Boolean expression is one that can be evaluated as true or false. A Boolean expression can use relational operators such as < for less than, > for greater than, = for equal, and the logical operators AND and OR. In this lesson we will use the If and optional Else statements to decide which statements to execute.
Objectives:
Please study the material at each of the links below.
- Microsoft Manual: Decision Structures
- IF Statements
- Top or bottom?
- AND And OR
- Left or Right?
- Check Boxes and Radio Buttons
- Boolean functions: isNumeric and isDate
- Additional Examples
Glossary for boolean lesson
Full Glossary