[If Statement] Comparing value to multiple integers
#4

Or if you really want to use if-else, and also want to compare strings or multiple variables then don't move to switch.

It should be something like this -

Код:
if(YourVariable != 1 && YourVariable != 1) // goes on.
Reply


Messages In This Thread
[If Statement] Comparing value to multiple integers - by Jonesy96 - 08.07.2016, 18:14
Re: [If Statement] Comparing value to multiple integers - by SickAttack - 08.07.2016, 18:17
Re: [If Statement] Comparing value to multiple integers - by AbyssMorgan - 08.07.2016, 18:21
Re: [If Statement] Comparing value to multiple integers - by Ritzy2K - 08.07.2016, 18:26
Re: [If Statement] Comparing value to multiple integers - by Jonesy96 - 08.07.2016, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)