Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » For loop
- paulpopsie
-
Scratcher
10 posts
For loop
Is there a way to do for loops ?
for i in range:
# do something with the i value
for i in range:
# do something with the i value
- 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.
- Discussion Forums
- » Help with Scripts
-
» For loop