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

#1 2011-10-18 13:00:24

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

@LS97 about Bingo

What's the code for the "evaluate Squeak" block?
Thanks!


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#2 2011-10-18 13:02:24

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: @LS97 about Bingo

Compiler evaluate: code logged: false

Or something?  hmm  I forget...


(skills! I replied exactly 120 seconds after)

Last edited by LS97 (2011-10-18 13:02:45)

Offline

 

#3 2011-10-18 13:04:55

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: @LS97 about Bingo

LS97 wrote:

Compiler evaluate: code logged: false

Or something?  hmm  I forget...


(skills! I replied exactly 120 seconds after)

Could you tell me exactly? (151 secs after... not as awesome as you, I'm afraid)

My motive is to create a (Evaluate mathematical expression [3*4]) reporter with code (and credit to you):

Code:

evaluateMath:exp
self evaluate:'^ ', 'exp' "or whatever the code is"

Last edited by Hardmath123 (2011-10-18 13:08:04)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4 2011-10-18 13:25:27

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: @LS97 about Bingo

Really simply, it's
Compiler evaluate: 'code'.

Offline

 

Board footer