compiling blocks

David Farber dfarber at numenor.com
Tue Apr 28 19:36:23 UTC 1998


how do i compile '[ :foo | foo bar]' on the fly so that i can store it in an
instance variable and send value: to it sometime later on?

also, what if i reference self in the block, like '[ :foo | foo bar: self]'.
what do i need to do to make sure that self evaluates to the object that is
holding the block?

thanks,
dave


--
        j. david farber
    oo architect+mentor
numenor labs incorporated
in sunny boulder colorado
    dfarber at numenor.com
        www.numenor.com





More information about the Squeak-dev mailing list