Shop OBEX P1 Docs P2 Docs Learn Events
What is a 'No Cases Encountered' error? — Parallax Forums

What is a 'No Cases Encountered' error?

CannibalRoboticsCannibalRobotics Posts: 535
edited 2010-10-05 11:24 in Propeller 1
guess that about says it all...

Comments

  • Heater.Heater. Posts: 21,230
    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
    
  • CannibalRoboticsCannibalRobotics Posts: 535
    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.