Shop OBEX P1 Docs P2 Docs Learn Events
Syntax error label missing ":" — Parallax Forums

Syntax error label missing ":"

robot mogulrobot mogul Posts: 32
edited 2011-04-24 11:34 in BASIC Stamp
I am using the stampworks kit with the BS2 and I am working on Experiment #5: LED GRAPH (DOT OR BAR) on the Show_Graph section and when I try to run the program, it says "syntax error 174, label is missing ":"" and highlights newBar = 0 and newBar = newBar << 1. What should I do?

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-04-24 11:34
    You've probably forgotten to declare newBar as a variable at the top of your program. Or perhaps you did declare it, but misspelled it.

    -Phil
Sign In or Register to comment.