Harald:

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:

  https://github.com/rdpoor/chuck_performance_setup/blob/master/lib/util.ck

(aka lib/util.ck) which defines a bunch of methods that I use throughout the system.

- Rob

On Sun, Apr 10, 2011 at 13:07, Harald Gutsche <hg42@gmx.net> wrote:
> * https://github.com/rdpoor/chuck_performance_setup
> Share and enjoy (code and comments, etc)

wow, looks like a nice setup...

and a huge chunk of code to discover...thanks...

I think, this will answer many question before even asking them :-)

Like the one I had some seconds before:
"can I include a chuck file? or how can I import functions?".
Your setup seems to import (public) classes only (which I already
discovered recently).
However, I didn't find a way to import global functions. Seems to be
designed after the java way...
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users