 | | case statement doesn't work- any clue? Luis Villa
|
| | I'm trying to program some very rudimentary debugging stuff- just outputting variables to the screen. Basically, I want to use a switch/case statement to read an integer variable (in this case ID_number) which is then linked (by the case statement) (...) (26 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|
| | |
| |  | | Read me first! Re: case statement doesn't work- any clue? Luis Villa
|
| | | | Nevermind. Dangit. Forgot break statements like a moron. -Luis (...) ###...### God was my co-pilot, but we crashed in the mountains and I had to eat him. -bumper sticker ###...### (26 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|
| | | | |
| |  | | Re: case statement doesn't work- any clue? Ben Laurie
|
| | | | (...) Doh! You haven't put any breaks between the cases. BTW, if LegOS can change the semantics of C its cleverer than I thought ... :-) Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who (...) (26 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|
| | | | |