Harald:<div><br></div><div>Thank you.  Re "global functions": I believe the ChucK approved method is to declare them as static methods in the class of your choice.  As an example, see:</div><div><br></div><div>  <a href="https://github.com/rdpoor/chuck_performance_setup/blob/master/lib/util.ck">https://github.com/rdpoor/chuck_performance_setup/blob/master/lib/util.ck</a></div>
<div><br></div><div>(aka lib/<a href="http://util.ck">util.ck</a>) which defines a bunch of methods that I use throughout the system.</div><div><br></div><div>- Rob<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 13:07, Harald Gutsche <span dir="ltr"><<a href="mailto:hg42@gmx.net">hg42@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> * <a href="https://github.com/rdpoor/chuck_performance_setup" target="_blank">https://github.com/rdpoor/chuck_performance_setup</a><br>

> Share and enjoy (code and comments, etc)<br>
<br>
</div>wow, looks like a nice setup...<br>
<br>
and a huge chunk of code to discover...thanks...<br>
<br>
I think, this will answer many question before even asking them :-)<br>
<br>
Like the one I had some seconds before:<br>
"can I include a chuck file? or how can I import functions?".<br>
Your setup seems to import (public) classes only (which I already<br>
discovered recently).<br>
However, I didn't find a way to import global functions. Seems to be<br>
designed after the java way...<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>