34,333
edits
Changes
→Visual Basic Operator Precedence
The issue we have to address now is in what order these calculations will be performed. If Visual Basic were to evaluate the expression from left to right the result would be 180. If the expression is evaluated from right to left the result would be 104. So, which way does Visual Basic evaluation expressions? The answer is neither of these options. Instead, Visual Basic evaluates expressions according to operator precedence. This is essentially a predefined order in which expressions are calculated which matches the standard algebraic order. The order used by Visual Basic is as follows:
<google>ADSDAQBOX_FLOW</google>
<table border="1" cellspacing="0">
<TH>Artithmetic<th>Logical</th>