<br><br><div class="gmail_quote">2008/11/22 Stephen Sugden <span dir="ltr">&lt;<a href="mailto:glurgle@gmail.com">glurgle@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks kassen,</blockquote><div><br>You&#39;re welcome! <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br></blockquote><div>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>I thought I should mention that this line:<div class="Ih2E3d"><br><br>[ 0, 2, 4, 5, 7, 9, 11, 12 ] @=&gt; int melodies[0];<br>

<br></div>Crashing chuck doesn&#39;t seem like a bug to me, because I had created melodies as a two dimensional array with both lengths defined (melodies[10][88]) and that&#39;s why it worked for me. Whereas if melodies isn&#39;t created yet, assigned something to index 0 shouldn&#39;t necessarily work.<br>

</blockquote><div><br>Well, I agree it&#39;s dubious, even if doing it in two (explicit) stages like this does work;<br><br>int melodies[0];<br>[ 0, 2, 4, 5, 7, 9, 11, 12 ] @=&gt; melodies;<br><br>However, the reason I call it a bug is that it crashes ChucK, taking out the whole VM. Ge once said that should never happen so I &quot;stamp&quot; anything that does that with the &quot;bug label&quot;. Parser errors are good, exiting the shred with a warning is fine, simply quitting is not fine, no matter how blatantly silly the stuff I type at times (I&#39;m not especially proud of finding that spelling &quot;class&quot; with a capital &quot;C&quot; will crash...). To be sure; this was my mistake, not yours, but since it crashes like that it&#39;s still a bug.<br>
</div><div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>I can certainly live with integer indexes in my script, and I&#39;ll see about adding the bug to the wiki...<br>
</blockquote><div><br>You should only have to live with them temporarily; your code, aside from the way you wanted to print, was according to the language specs as I read them; you were right, ChucK was wrong.<br><br>Give a shout if the Wiki gives you trouble and I&#39;ll do it but it should be there; we have a list like that for the dev&#39;s to use as a reference and for us to make sure we don&#39;t doulbe-report issues.<br>
</div></div><br>Yours,<br>Kas.<br>