Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
What is a 'No Cases Encountered' error? — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Propeller 1
What is a 'No Cases Encountered' error?
CannibalRobotics
Posts:
535
2010-10-05 11:03
edited 2010-10-05 11:24
in
Propeller 1
guess that about says it all...
Comments
Heater.
Posts:
21,230
2010-10-05 11:13
edited 2010-10-05 11:13
Probably you have your indentation wrong. Say like this:
case a 1: b := 1 2: b := 0
Instead of this:
case a 1: b := 1 2: b := 2
Or you have forgotten your case labels:
case a b := 1 b := 2
CannibalRobotics
Posts:
535
2010-10-05 11:24
edited 2010-10-05 11:24
or worse, the last word of a comment was 'case' and the programmer was trying to do nice neatly formated code and missed the ' on the line...
Sometimes things are so obvious they get by you...
Sign In
or
Register
to comment.
Comments
Instead of this:
Or you have forgotten your case labels:
Sometimes things are so obvious they get by you...