Qualifier

Back to topics list To post a new topic, please log in or register
avatar
4
Atomic_Sheep 2016.01.18 08:39
 

Hi Guys,

 

I'm writing an EA and I stumbled into a problem for my if statement.

 

I have:

 

if(something) && (something2)

{

 

} 

 

However it won't let me do this, it comes up with an error for && and then if I put just one &, it comes up with errors in subsequent lines which disappear as soon as I delete the something2 qualifier. So obviously I'm not able to put two qualifiers the way I put them. Any suggestions?

avatar
736
honest_knave 2016.01.18 09:20 #
 
if(something && something2)

{

 

} 

or...

if((something) && (something2))

{

 

} 

 

 

avatar
4
Atomic_Sheep 2016.01.18 10:11 #
 
Got it thanks.
Back to topics list  

To add comments, please log in or register