[Newbies] Re: evaluating strings as blocks

Joseph Alotta joseph.alotta at gmail.com
Mon Jul 11 16:22:19 UTC 2016


thank you.


> On Jul 11, 2016, at 11:18 AM, David Mitchell-10 [via Smalltalk] <ml-node+s1294792n4906041h20 at n4.nabble.com> wrote:
> 
> Look at Compiler
> 
> On Mon, Jul 11, 2016 at 11:13 AM Joseph Alotta <[hidden email]> wrote:
> 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
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> _______________________________________________ 
> Beginners mailing list 
> [hidden email] 
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://forum.world.st/evaluating-strings-as-blocks-tp4906034p4906041.html
> To start a new topic under Squeak - Beginners, email ml-node+s1294792n107673h12 at n4.nabble.com 
> To unsubscribe from Squeak - Beginners, click here.
> NAML





--
View this message in context: http://forum.world.st/evaluating-strings-as-blocks-tp4906034p4906042.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20160711/1a27c2a0/attachment.htm


More information about the Beginners mailing list