This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2010-08-18 20:05:01

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Python's "elif"

fullmoon wrote:

I support! I think that in place of the arrows, however, a little (+) button at the bottom of the block would be better, and a little (x) next to the deletable else-if constructs.

Absolutely - Harakou and I were talking about this  smile

Offline

 

#27 2010-08-19 12:49:11

bendad
Scratcher
Registered: 2008-06-14
Posts: 100+

Re: Python's "elif"

you can do this in scratch.
<if> blah
do stuff
<end>
<if> blah2
do more stuff
<end>
<if> not blah or blah2
do something else
<end>


Hi!  big_smile
Good to see you. (Even if I don't know you  wink  )

Offline

 

#28 2010-08-19 13:13:17

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Python's "elif"

bendad wrote:

you can do this in scratch.
<if> blah
do stuff
<end>
<if> blah2
do more stuff
<end>
<if> not blah or blah2
do something else
<end>

Yes, but this suggestion would clean up a lot of extra scripting that would be needed.

Offline

 

#29 2010-08-19 15:08:51

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Python's "elif"

bendad wrote:

you can do this in scratch.
<if> blah
do stuff
<end>
<if> blah2
do more stuff
<end>
<if> not blah or blah2
do something else
<end>

You're completely missing the point there.  tongue  With that, Scratch has to sort through all those other If's, even once it finds the single one you want to execute.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#30 2010-08-19 15:10:57

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Python's "elif"

I support!
big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile   big_smile                                  <say[  big_smile   big_smile   big_smile   big_smile   big_smile   ]for(  big_smile   )secs>


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

Board footer