Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
do loop will not compile — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
BASIC Stamp
do loop will not compile
Larry~
Posts:
242
2009-08-28 18:04
edited 2009-08-28 18:18
in
BASIC Stamp
Whats wrong with this loop
DO
PULSIN 0, 1, value
LOOP UNTIL (value > 3700)
Comments
sylvie369
Posts:
1,622
2009-08-28 18:12
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~
Posts:
242
2009-08-28 18:15
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
sylvie369
Posts:
1,622
2009-08-28 18:18
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.
Comments
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
I had no Idea what thoes three little buttons did 1.0 2.0 and 2.5