It's hard to visualize a script in visual programming language like Scratch. Here's an example of what I mean:
The correct way to make an infinite loop without the
forever
block is to use therepeat
block, with the amount of times to repeat at something like999999999999999999999999999
. Here's an example script of what you should do:repeat (999999999999999999999999999) ...
(ignore the broken formatting)
Plus, you can't do C loops like shown above.
Instead, there should be a rule so you'd have to do this:
The correct way to make an infinite loop without the
forever
block is to use therepeat
block, with the amount of times to repeat at something like999999999999999999999999999
. Here's an example script of what you should do:
It is much more easier to read and understand that.
There is even a tool that allows you to make an image like the one in the example. You can see the tool with that example here. You can export the thing as a .PNG then upload it to Imgur.
I propose there to be a rule requiring images of the Scratch blocks, not just code, for all mit-scratch questions and answers.