[chuck-users] feature request: including files

Graham Percival gpermus at gmail.com
Wed Oct 19 02:48:56 EDT 2005

It would be great if ChucK could include other .ck files.  I know you 
do machine.add("foo.ck"), but it would be great if we could do it with
non-shreds as well.

For example, I could have a bunch of functions which I could then
include in other projects.  You can't machine.add a
fun float changevalue ( float foo )
{ ...
return bar; }

Technically speaking,
would simply insert the contents of foo.ck into the original file at
the place where whatever.include() was called.

- Graham

More information about the chuck-users mailing list