Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
A little conclusion
A little conclusion
10-27-2007, 06:23 PM
#1
midiway
in JASS
1. false and false or true == FALSE
2. true or false and false == FALSE
so OR operator have higher precedence than AND operator...
its unlike many others languages where AND is processed before OR
Am I right?
10-27-2007, 06:54 PM
#2
PipeDream
Apparently.
10-27-2007, 07:04 PM
#3
cohadar
I always use () no matter what language I work in.
It is impossible and pointless to remember all those stupid rules that are always different.
10-27-2007, 11:07 PM
#4
Ammorth
And it can save hours of code debugging, especially when you think it should be doing one thing and it is really doing something else.