Difference between revisions of "If"

1 byte removed ,  03:46, 17 April 2006
m
imported>JOG
m (→‎Combining Comparisons: who said parantheses don't work?)
imported>JOG
Line 67: Line 67:




Note that "||" is evaluated before "&&", just like "*" is evaluated before "+". in normal algebra.
Note that "||" is evaluated before "&&", just like "*" is evaluated before "+" in normal algebra.


If you want the && to be evaluated first, you have to include that part in parentheses. For example:
If you want the && to be evaluated first, you have to include that part in parentheses. For example:
Anonymous user