Discuss Scratch

Malicondi
Scratcher
1000+ posts

why was for each I in () removed

Why was this block
for each [i v] in (){

} ::control
removed from the editor, but still accessible from editing json, or from older projects? Just wondering why, and I'm not sure if it was confusing or for some other reason.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


-Expo
Scratcher
1000+ posts

why was for each I in () removed

Malicondi wrote:

Why was this block
for each [i v] in (){

} ::control
removed from the editor, but still accessible from editing json, or from older projects? Just wondering why, and I'm not sure if it was confusing or for some other reason.
Out of curiosity, which projects do you still see them in?




I donated 1$USD to the Scratch foundation, which automatically makes me better than 98% of the scratch poulation.
Perhaps donating an Internet will get you to the 2% club
Malicondi
Scratcher
1000+ posts

why was for each I in () removed

-Expo wrote:

Out of curiosity, which projects do you still see them in?
I have it in some of the projects on my test account, and I have seen it in this project. (which I now realize isn't really that old)

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


CHEEZ_ITZ_12oz
Scratcher
70 posts

why was for each I in () removed

Checking the wiki, it appears it was removed hidden because the dropdown was buggy. I can only guess its not back in because there's a simple workaround.
set [i v] to [0]
repeat (10)
change [i v] by (1)
end

The “for each () in ()” still functions perfectly well, it's just hidden from the editor.


-Cheese Guy
-stxllxr
New Scratcher
100+ posts

why was for each I in () removed

CHEEZ_ITZ_12oz wrote:

Checking the wiki, it appears it was removed hidden because the dropdown was buggy. I can only guess its not back in because there's a simple workaround.
set [i v] to [0]
repeat (10)
change [i v] by (1)
end

The “for each () in ()” still functions perfectly well, it's just hidden from the editor.
It has a couple other special functions, such as if you change the variable inside of the for loop, the variable will set back to its last value. For example, of “i” was 5, and you change it by 7 in the next loop, it will go back to 6.

Powered by DjangoBB