\n problem. Dynamic Updates
#2

You are recreating the prevStatus variable inside the loop, therefore it is always 0, create it outside / before the loop
Additionally you can move your "if(prevStatus != status)" statement after the switch because it is the same code in all cases
Reply


Messages In This Thread
\n problem. Dynamic Updates - by Score - 20.02.2019, 23:50
Re: \n problem. Dynamic Updates - by Nero_3D - 21.02.2019, 02:01

Forum Jump:


Users browsing this thread: 2 Guest(s)