Difference between revisions of "If"
m
→Combining Comparisons
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 "+" | 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: |