Discuss Scratch

paulpopsie
Scratcher
10 posts

For loop

Is there a way to do for loops ?

for i in range:
# do something with the i value
Prime689
Scratcher
1000+ posts

For loop

(The closest thing we can recreate a language shell is a list.) You can see the example I made here.
portalpower
Scratcher
1000+ posts

For loop

Here is one way to do it.
set [i v] to [0]
repeat until <(i) > (...::#888888)>
...::#888888
change [i v] by (1)
end
NMario84
Scratcher
1000+ posts

For loop

I know that Turbowarp has the (for each (i) in (#) block. I seem to recall that Scratch itself USED to have this block, but they removed it for whatever reason. I forgot the actual reason.

Powered by DjangoBB