Why isn't it working?
#2

You are changing the value of tempvar into each one of the if clauses, so when it goes into the first if, it takes the value 1, so it gets into the second if clause, and that repeats until it finishes with all if clauses.

The solution to this problem would be using else if clauses or just a switch.
Reply


Messages In This Thread
Why isn't it working? - by [rG]Cold - 20.04.2014, 14:11
Respuesta: Why isn't it working? - by Xabi - 20.04.2014, 14:24
Re: Why isn't it working? - by [rG]Cold - 20.04.2014, 14:48
Respuesta: Why isn't it working? - by Xabi - 20.04.2014, 14:53
Re: Why isn't it working? - by xVIP3Rx - 20.04.2014, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)