Discuss Scratch
- AonymousGuy
-
Scratcher
1000+ posts
Else If
I don't think you people are getting my point. I know It can be done through stacking blocks, but an else if block would just make the scripts look easier to comprehend for newer scratchers, and would allow for much more cleaner looking scripts.I was pointing out to another user a situation in which they would be useful.

- dracae
-
Scratcher
1000+ posts
Else If
No support.
Find me a situation in which this block is used, and I'll find you a very simple solution that doesn't require YET ANOTHER extraneous block.if <> then
else
if <> then
else
if <> then
else
if <> then
else
if <> then
else
if <> then
else
if <> then
else
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
Last edited by dracae (April 1, 2014 02:03:53)
- 9kiwi9
-
Scratcher
100+ posts
Else If
Not the place to ask.How did you switch up the colors in the blocks in your signature?if <> thenetc.
else
if <> then
else
if <> then
else
if <> then
else
if <> then
else
if <> then
else
end
end
end
end
end
end
———————————–
Anyway, support.
- AonymousGuy
-
Scratcher
1000+ posts
Else If
But what if I need the else? Then it might look like this:if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <> then
end
if <<> and <not <>>>
end
if <<> and <<not <>> and <not <>>>
end
if <<> and <<not <>> and <<not <>> and <not <>>>>>
end
- BlockWare
-
Scratcher
100+ posts
Else If
Like the stuff in javascript? It would be obsolete.
Just do
set toif <> then
else
if <> then
end
end
Something probably isn't obsolete if it's in every modern programming language and many old ones

Also, being easy to work around and “obsolete” doesn't mean much. Even “change x by (amount)” simplifies to “set x to (x plus amount)”
Last edited by BlockWare (Feb. 6, 2016 21:52:44)
- awesomekid0224
-
Scratcher
1000+ posts
Else If
Support. This may help many Scratchers (like me) who are trying to code using Scratch without remixing.





