Discuss Scratch
- Discussion Forums
- » Suggestions
- » Improved If's
- BSH1
-
Scratcher
100+ posts
Improved If's
I think that if's can be improved
So that you can add elseif's and even multiple elseif's in one block!
The Mit Appinventor allows you to do this by opening a popup allowing you to add elseif's and an else to an if block.
I made a project with screenshots of it Here and one of how it could work on scratch.
if <> then
else
if <> then
else
if <> then
else
end
end
end
So that you can add elseif's and even multiple elseif's in one block!
The Mit Appinventor allows you to do this by opening a popup allowing you to add elseif's and an else to an if block.
I made a project with screenshots of it Here and one of how it could work on scratch.
- TheHockeyist
-
Scratcher
1000+ posts
Improved If's
No support.
if <> thenis fine as is. Altering it would probably wreck the programming language.
else
end
Last edited by TheHockeyist (Aug. 6, 2014 17:18:23)
- TimothyLawyer
-
Scratcher
1000+ posts
Improved If's
No support. The current way provides a good visual cue to beginner programmers of the logical flow of the program.
- AonymousGuy
-
Scratcher
1000+ posts
Improved If's
This is a duplicate…
But support. If you're suggesting something like this:
But support. If you're suggesting something like this:
if <> thenThe arrows allow you to expand / delete elseifs.
elseif <> then ▲ ▼ :: control celse
elseif <> then ▲ ▼ :: control celse
else
end
- Discussion Forums
- » Suggestions
-
» Improved If's




