>From your code that looks like exactly what I need. I'll try it out later
when I am back at my Pi.

Thanks,

Ronan


On 28 May 2015 at 16:07, Michael Heuer <[email protected]> wrote:

> 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
>
>


-- 

      # r
_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to