<br>
<br><font size=2 face="sans-serif">Hans Baveco wrote:</font>
<br>
<br><font size=2 face="Courier New">&gt;&gt;Thanks Chris, two questions though, would this work in squeak (you use local<br>
&gt;&gt;block variables)? and would it be possible to create blocks with a specified<br>
&gt;&gt;number of expected arguments automatically? (otherwise we still need to code<br>
&gt;&gt;all these blocks expecting different nr of arguments onbeforehand).</font>
<br>
<br><font size=2 face="Courier New">The local block variables are not a problem in Squeak 3.0.</font>
<br><font size=2 face="Courier New">They are a problem in some earlier versions of Squeak.</font>
<br>
<br><font size=2 face="Courier New">The doBlock with the three arguments is only used to write</font>
<br><font size=2 face="Courier New">the tuples into the transcript and it is not even needed to do</font>
<br><font size=2 face="Courier New">that. Replace the call of the doBlock with:</font>
<br>
<br><font size=2 face="Courier New">&nbsp; Transcript show: args printString; cr.</font>
<br>
<br><font size=2 face="Courier New">and you can remove that block.</font>
<br>
<br><font size=2 face="Courier New">The proposal of Chris is, in my opinion, a general solution.</font>
<br>
<br><font size=2 face="Courier New">Cheers,<br>
</font>
<br><font size=2 face="sans-serif">Boris Gärtner<br>
<br>
<br>
mailto: Boris_Gaertner@msg.de</font>