Given multiple operations within an expression, Visual Basic evaluates the parts from left to right using the following precedence: parentheses, arithmetic operators, comparison operators, and logical operators.
| Arithmetic | Comparison | Logical |
|---|---|---|
|
|
|
|
Multiplication and Division actually have equal precedence. Addition and Subtraction also have equal precedence. Operators within the comparison operators category all have equal precedence.
Page Modified: (Hand noted: 2007-09-20 20:11:29Z) (Auto noted: 2007-11-17 06:37:27Z)