[Newbies] evaluating strings as blocks

David Mitchell david.mitchell at gmail.com
Mon Jul 11 16:59:47 UTC 2016


Look at Compiler

On Mon, Jul 11, 2016 at 11:13 AM Joseph Alotta <joseph.alotta at gmail.com>
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
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20160711/25dadd09/attachment.htm


More information about the Beginners mailing list