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

#1 2009-02-11 15:25:49

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Block code

Any chance there could be a tweak to the BBCode parser, so that it doesn't interpret anything as blocks outside of an explicitly designated blocks section? Would make writing out code examples using brackets and parentheses much less annoying.  smile

Thanks!

Offline

 

#2 2009-02-11 15:34:47

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Block code

<when green flag clicked>
<say[ you mean like this? ]for(  )secs>
<wait until> <( <{ answer }> <=> <{ yes }> )>
<stop all>


~ihaveamac - visit ihaveamac.net

Offline

 

#3 2009-02-11 15:48:14

boinoinoi
Scratcher
Registered: 2007-06-05
Posts: 500+

Re: Block code

No, I think he means when you do a double parentheses, it turns into )) [/blocks]and other stuff doing that. In my opinion, it'd also be nice for it to not make the text blue in the blocks, 'cause that gets annoying when EVERYBODY forgets the "/blocks" at the end.
Normally I just put spaces between everything, like this:

When green flag clicked
say [ you mean like this? ] for ( 2 ) secs
wait until < ( abs ( answer ) ) = ( yes ) >
say [ okai then ]


http://i30.tinypic.com/335fpxx.jpg
"Boinoinoi is the only person on the forums that I expect to be wearing a monocle all the time behind that screen, so I'm sure being as classy as he is, he knows what he's doing"        http://myfastcounter.com/count.php?c_style=88&amp;id=1284259111http://myfastcounter.com/count.php?c_style=88&amp;id=1286068127

Offline

 

#4 2009-02-12 21:58:48

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: Block code

Or you could make the code in scratch, get a pic of it, upload it to www.tinypic.com and then link it!


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

Board footer