[Glass] How to compile a Block from a string ...

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Tue May 24 06:20:25 PDT 2016


 aString evaluate

Or.. to compile on a target object:

aString
    evaluateInContext: anObject
    symbolList: GsSession currentSession symbolList






On Tue, May 24, 2016 at 8:42 AM, Marten Feldtmann via Glass <
glass at lists.gemtalksystems.com> wrote:

> Today seems to be the day for wishes and questions.
>
>
> How can I do this in Gemstone/S ?
>
> | aString |
>
> aBlockString := '[ : each | each isOlderThanMe ]'.
>
> aBlock :=   "how to create a BlockClosure from a string" ?
>
> arrayOfObject select: aBlock
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160524/ecf66c0e/attachment.html>


More information about the Glass mailing list