visual-basic booleanVisual Basic: Windows Programming

Visual Basic: Windows Programming

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.

  1. Microsoft Manual: Decision Structures
  2. IF Statements
  3. Top or bottom?
  4. AND And OR
  5. Left or Right?
  6. Check Boxes and Radio Buttons
  7. Boolean functions: isNumeric and isDate
  8. Additional Examples
GlossaryGlossary for boolean lesson
Full Glossary