Hi guys,
got really a simple question what is the syntax in making a IF statement check 2 condition and 2 condition must be Valid.
if(Opt==2,i==1) ????
Printable View
Hi guys,
got really a simple question what is the syntax in making a IF statement check 2 condition and 2 condition must be Valid.
if(Opt==2,i==1) ????
use the && (and) operator, both conditions must be true for it to be true..Code:if (Opt==2&&i==1) {
}
--770
thx delta
no prob :D (glad to finally know a bit to help someone)
--770