&& and || in the same expression New comment [Deleted] 2009.03.06 00:37 Hi, I was wondering if we can use the operators && and || in the same expression. Do we have to put them between parentesis to avoid conflict. For example : if(a == 1 && (b== 1 || c == 1)) Is that correct and allowed ?? Thanks Useful features from KimIV can we put 2 assets in the same chart? BrainSystem: ALERT SIGNALS Alexander 2009.03.06 00:48 #1 Correct and allowed. New comment
Hi,
I was wondering if we can use the operators && and || in the same expression. Do we have to put them between parentesis to avoid conflict.
For example : if(a == 1 && (b== 1 || c == 1))
Is that correct and allowed ??
Thanks