Hy,<br><br>I was studying Patterns topic in CM2 and got errors trying to do Example 3 (Creating patterns programatically).<br>Part of the error message says:<br><br>LOOP ERROR: &#39;each&#39; does not support initializations.<br>
clause context: &#39;EACH K IN (NEXT PAT T)&#39; <br><br>I tried many things (actually I&#39;m a beginner, so it complicates a lot), and it did work when I substituted line:<br><pre class="code">    each k in (<a href="file:///usr/local/lisp/cm/doc/dict/next-fn.html">next</a> pat #t) as x from 0 by rate<br>
</pre>by these two lines:<br><pre class="code">for x from 0 by rate<br>each k in (<a href="file:///usr/local/lisp/cm/doc/dict/next-fn.html">next</a> pat #t)</pre>
 the console gave me no error messages, by I think the sound result was not the expected (it should vary each evaluation, but keeps the same).<br><br>How can I correct this?<br><br>Thanks.<br>Alexandre Ficagna <br>-- <br>
<a href="http://www.myspace.com/alexandreficagna">www.myspace.com/alexandreficagna</a><br>