19 Oct
2005
19 Oct
'05
2:48 a.m.
It would be great if ChucK could include other .ck files. I know you can 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, whatever.include("foo.ck"); would simply insert the contents of foo.ck into the original file at the place where whatever.include() was called. Cheers, - Graham