
Re: Need help with dimensions If else
Ziram
Sorry I didn't get back to you sooner, I've been super busy with all kinds of things

Anyway, looking at your code, it took me a minute to spot it but it's a really sneaky bug. Look at the values of the actual states:
Now look at the switch block:
Now if you were to replace the numbers in the switch block with the names of the constants declared above, do you notice the problem?
- Xander
_________________|
Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)| My Blog:
I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [
Project Page]