by default the preference allowing assignment to block arguments is off in current CLosure images (and a good thing too).  But older code used it a lot since block arguments were really no more than temporaries of the enclosing home method.  The quick hack is to enable the preference.  The real solution is to rewrite the method so it doesn;t assign to the block argument.<div>
<br></div><div>best</div><div>Eliot<br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 8:30 AM, Casimiro de Almeida Barreto <span dir="ltr">&lt;<a href="mailto:casimiro.barreto@gmail.com">casimiro.barreto@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  

    
  
  <div text="#000000" bgcolor="#ffffff">
    Problem:<br>
    <br>
    saveConfig<br>
        &quot;write info about the current configuration to a file.&quot;<br>
    <br>
        (UIManager default request: &#39;Save VMMaker configuration...&#39;
    initialAnswer: self configFileName)<br>
            ifNotNilDo: [:file | | path |<br>
                (&#39;*.config&#39; match: file)<br>
                    ifFalse: [<font color="#ff0000"><big>Cannot store
        into -&gt;</big></font>file := file , &#39;.config&#39;].<br>
                &quot;If path is not valid, this is probably because we are
    running the image on a different<br>
                platform. Assume this is the case, and change the path
    to current default if it appears<br>
                to be invalid.&quot;<br>
                path := file copyUpToLast: FileDirectory
    pathNameDelimiter.<br>
                (FileDirectory default directoryExists: path)<br>
                    ifFalse: [ file := file copyReplaceAll: path with:
    FileDirectory default pathName].<br>
                vmMaker saveConfigurationTo: file.<br>
                configFileName := file]<br>
  </div>

<br><br>
<br></blockquote></div><br></div>