Am I being thick, or is there no block that implements a repeat...until (do...while, whatever you want to call it) construct?
Just a break statement would do it ... although if you'd rather not implement that for stylistic reasons, I can understand that.
Last edited by shadowfirebird (2007-03-09 05:19:41)
Offline
You're right, there's no "repeat until" block and it would be useful. It's on our short list of features to add so it will probably make it into the next version of Scratch. The next release will come out in April.
-- John
Last edited by johnm (2007-03-09 22:48:51)
Offline
As you suggested, it is possible to use a "break," which is called "stop script" in Scratch, to do what you're asking. This code should simulate a do-while (or repeat until) loop for you
Let me know if that is helpful for you, or if I missed the point of what you were asking.
Offline
There Is A Repeat Until Block You Dumby's
Offline
coolstuff wrote:
likegames wrote:
There Is A Repeat Until Block You Dumby's
That's not very nice, now, is it?
It's sarcasm. Trust me

Offline