Forum Discussion
2 Replies
- ashokkumaredsContributor
Hi ,
control should go to ELSE block. It cannot go to IF block. it evaluates to false || false which is false.
- AlexKarasCommunity Hero
Hi,
As a side note: to avoid possible error with operation priorities and to make the code more evident, I used to explicitly include separate conditions into parenthesis. I.e. :
if((a!=b) || (b!= c))
...