Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
While break — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Propeller 1
While break
hylee101001
Posts:
48
2015-03-06 18:55
edited 2015-03-06 19:09
in
Propeller 1
Is there a C's "break" like code in spin? (instead of "return")
Ex:
repeat while (Cond)
if (Cond2)
'break
Comments
Duane Degn
Posts:
10,588
2015-03-06 19:05
edited 2015-03-06 19:05
The command "quit" will end the loop.
You may also want to check "next".
hylee101001
Posts:
48
2015-03-06 19:09
edited 2015-03-06 19:09
Thank you!
Sign In
or
Register
to comment.
Comments
You may also want to check "next".