Hello Ronan,

Is Machine.add("module1.ck"); what you might be looking for?

I have one big import file that Machine.adds all the ChucK classes in the
library

https://github.com/heuermh/lick/blob/master/import.ck

Then I usually

$ chuck --loop &
$ chuck + import.ck
$ chuck + some-other-stuff.ck

   michael



On Thu, May 28, 2015 at 6:59 AM, Ronan Klyne <[email protected]> wrote:

> Hi all,
>
> I apologise if I'm just missing the relevant documentation, but I can't
> see how to import classes from one module into a second module. I want to
> declare a big base class once and subclasses in a different file.
> Can anyone tell me if this is possible?
>
> Thanks,
>
> Ronan
>
>
> --
>
>       # r
>
> _______________________________________________
> chuck-users mailing list
> [email protected]
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to