vExpressions are formulae made
from variables and operators, e.g.
calculator operations: +, -, *, /, ^
oweeks = days / 7 divide value of days by 7
ogrossPay = hours * rate multiply the two values
oarea = pi * radius ^ 2 p times radius squared
vIn the last example, the ^
operator has precedence over the * operator.
vWe could also write
oarea = pi * (radius ^ 2)
vWhen in doubt, use extra
parentheses in expressions! It’s always safe.
vSee the Snyder text for more
about precedence, and page 77 of the VB book
for a complete table of operator precedence in VB.