[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
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 at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
More information about the Beginners
mailing list