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

#1 2011-05-07 10:17:14

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Export BYOB Blocks to Squeak?

I have a BYOB block (It has LONG code.) and I want to export to squeak. Is this possible?

Offline

 

#2 2011-05-07 11:13:18

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Export BYOB Blocks to Squeak?

Only if it contains no blocks which generate a pause.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#3 2011-05-07 15:45:50

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Export BYOB Blocks to Squeak?

rubiks_cube_guy238 wrote:

Only if it contains no blocks which generate a pause.

Actually...

'Thanks to rdococ, a new way of the wait block'
| t1 |
(second amount) timesRepeat [
       10 timesRepeat [
               t1 _ 'something'
       ]
]

All commands take 0.1 seconds to process, which is 100 milliseconds. If I'm wrong, please tell me. This is the equlivant to the "wait (second amount).2 secs" block.

Offline

 

#4 2011-05-07 15:56:22

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Export BYOB Blocks to Squeak?

thebuilderdd wrote:

I have a BYOB block (It has LONG code.) and I want to export to squeak. Is this possible?

Wait until 4.0 and you'll be able to export it to Javascript -- but it'll still depend on having the BYOB runtime around.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#5 2011-05-08 09:58:07

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Export BYOB Blocks to Squeak?

Bump

Offline

 

Board footer