Compare three variables?
#3

Why would you want to do that? It's exactly the same as doing if(variable1 == variable3)



Perhaps you mean 'is variable 1 equal to variable 2 OR variable 3'? In which case:

if(var1 == var2 || var1 == var3)
Reply


Messages In This Thread
Compare three variables? - by Mado - 22.01.2013, 12:07
Re: Compare three variables? - by PaulDinam - 22.01.2013, 12:13
Re: Compare three variables? - by MP2 - 22.01.2013, 12:29
Re: Compare three variables? - by Threshold - 22.01.2013, 12:41
Re: Compare three variables? - by PaulDinam - 22.01.2013, 12:52

Forum Jump:


Users browsing this thread: 2 Guest(s)