Wyo VB - Ch. 4 Notes

Objective #1: Use If statements to ensure that a certain statements are executed only when a given condition applies.

Objective #2: Use If/Else and If/ElseIf statements to select which of two sequences of statements will be executed, depending on whether a given condition is TRUE or FALSE.

Objective #3: Write Basic expressions to form "Boolean conditions," which are expressions whose possible values are the constants TRUE and FALSE.

Objective #4: Explain events, parameters, and properties in more detail than previously.

Objective #5: Use compound Boolean expressions with And and Or.

The string concatenation operator (&) is not an arithmetic operator, but in precedence it does fall after all arithmetic operators and before all comparison operators. Similarly, the Like operator, while equal in precedence to all comparison operators, is actually a pattern-matching operator. The Is operator is an object reference comparison operator. It does not compare objects or their values; it checks only to determine if two object references refer to the same object."

You probably will not have to use the Like or Is operators very often, however the information above may still be useful to you.

Objective #6: Use the Mod operator to test divisibility.

Objective #7: Build and concatenate strings for display in multiline textboxes.

Objective #8: Use the Visual Basic Timer and Time functions.

Objective #9: Use Select Case statements for multiple selection.