<br><br><div class="gmail_quote">2008/11/15 dan trueman <span dir="ltr">&lt;<a href="mailto:dtrueman@princeton.edu">dtrueman@princeton.edu</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;">
<div class="Ih2E3d">the only problem is that YOU know more about all this stuff than some of us do. ;--}. i learned how to write:<br>
<br>
buf.samples()::samp =&gt; lisa.duration;<br>
<br></div>
from something you wrote...</blockquote><div><br>That one looks nice&amp; tight, doesn&#39;t it? The trick there is that the whole &quot;::&quot; thing is simply a multiplication between a float/int and a duration... and since functions like that one will return a int we can use it instead of a int. You can build quite complicated expressions like that. <br>
<br>And thanks, I don&#39;t really think there is a &quot;problem&quot; because I&#39;m happy to share tricks. We&#39;ll need to share anyway because I think we&#39;re past the point where any one single person knows everything there is to know about ChucK. I know I went &quot;WHAT?!!!&quot; a few times when I saw some of the things Spencer had handed to Mike, he was doing some sort of assignment within the definition of the parameters to a function and I had to conclude I better not touch that bit :¬).<br>
<br>I wouldn&#39;t rule out the possibility that all of the regular posters to this list will know something that nobody else has realised yet, which brings us to;<br><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>
it would perhaps make sense for all the documentation to be wikified, so that everyone could contribute to making it more accurate and complete...<br><font color="#888888">
</font></blockquote><div><br>Yes, I think that would be a good idea for collaboration, but I don&#39;t think it&#39;s a substitute for a good and clear examples directory. It would definitely be a great method for creating a more extensive manual, because of it&#39;s linear nature you can wonder whether it would be a good idea to go into more advanced/exotic/specialised subjects in the .pdf but with a wiki you could. Especially good bits could then be copied to the .pdf<br>
</div></div><br>Yours,<br>Kas.<br>