Shop OBEX P1 Docs P2 Docs Learn Events
do loop will not compile — Parallax Forums

do loop will not compile

Larry~Larry~ Posts: 242
edited 2009-08-28 18:18 in BASIC Stamp
Whats wrong with this loop

DO
PULSIN 0, 1, value
LOOP UNTIL (value > 3700)

Comments

  • sylvie369sylvie369 Posts: 1,622
    edited 2009-08-28 18:12
    Are you using PBasic 2.5?

    DO requires a {PBasic2.5} directive up at the top of your program, at least if you're going to use·UNTIL.


    Post Edited (sylvie369) : 8/28/2009 6:19:23 PM GMT
  • Larry~Larry~ Posts: 242
    edited 2009-08-28 18:15
    OH thank you
    I had no Idea what thoes three little buttons did 1.0 2.0 and 2.5
  • sylvie369sylvie369 Posts: 1,622
    edited 2009-08-28 18:18
    I always throw a {PBasic 2.5} up at the top just to avoid this kind of hard-to-track-down error.
Sign In or Register to comment.