[Newbies] evaluating strings as blocks

Ron Teitelbaum ron at usmedrec.com
Mon Jul 11 16:59:50 UTC 2016

Hi Joe,

Have a look at Complier.  

Then try 

Complier evaluate: '1+1'

All the best,

Ron Teitelbaum

From: Joseph Alotta
Sent: Monday, July 11, 2016 12:14 PM


For debuting purposes, I want to build a string with calculations and then evaluate it.

Something like:

string := ‘2 + 2 - 5’;

and then do:

string asBlock value => -1

How can I get this to work?



Beginners mailing list
Beginners at lists.squeakfoundation.org

More information about the Beginners mailing list