Hi Ted,
on Wed, 02 Apr 2008 13:38:51 +0200, you wrote:
>
> Hi,
> I'm going through the Mentoring book by Andres Valloud and was trying
> to implement the ComplexConditions, which is basically a collection of
> blocks. To create one of those, the book suggests to implement #, in
> BlockClosure. To my surprise this didn't work, and I had to implement
> it in BlockContext instead.
BlockClosure (and its companion class ClosureEnvironment) are part of
Squeak's NewCompiler project,
-
http://news.squeak.org/2006/10/09/the-newcompiler-project/> As the class comment for both classes is almost identical, I wondered
> if someone can explain what the difference is between them and which
> of those gets used when.
Unless you have an .image with NewCompiler loaded and activated, you
should use BlockContext.
HTH.
/Klaus
> Thanks in advance,
> Ted