Thanks a ton Bert, I really appreciate your help.

On 2011-05-26 5:31 AM, "Bert Freudenberg" <bert@freudenbergs.de> wrote:


On 25.05.2011, at 18:47, Jeff G wrote:

> Hi everyone,
>
> My question is about the semantics of b...

You cannot assign into arguments anymore (in 1999, you could). So you need to make a temp:

mkCounter := [:init | | counter | counter := init. [counter := counter + 1]].


- Bert -


_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners