I think it'd be great if we could some how easily extend our if else blocks to have a potentially unlimited number of else statements without having to re-drag if-else onto itself a bunch of times. I was thinning there could be just an "else" block which would only attach to an if or if else and keep going, or you could have a new if-else block which would accept an argument for the number of else options, with a default to 1.
Offline
An “else” block would confuse some Scratchers.
I don’t think we need this though because of the “if” block being compatible with the “not” block.
Offline
Yeah, and elif or elseif statement. (Depends on the language, and I haven't learned photon yet…)
I do agree that just an else block could be confusing, so that's probably not the best idea, but some way to keep else if type statements more inline would make long programs more clear I think.
Offline
http://suggest.scratch.mit.edu/forums/6 … case-block
but you can't vote until you are a scratcher
Offline