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


Greetings,

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?


Sincerely,

Joe.


_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to