Rob,<br><br>I think the best we have is Machine.add<br><br><a href="http://chuck.cs.princeton.edu/doc/language/spork.html#add">http://chuck.cs.princeton.edu/doc/language/spork.html#add</a><br><br>A common strategy is to have a library file of Machine.adds<br>
<br><a href="http://www.iua.upf.es/~gcoleman/chuck/svn/lib.ck">http://www.iua.upf.es/~gcoleman/chuck/svn/lib.ck</a><br><br>Graham<br><br><div class="gmail_quote">On Wed, Feb 18, 2009 at 7:41 PM, Robert Poor <span dir="ltr"><<a href="mailto:rdpoor@gmail.com">rdpoor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">More questions:<br>
<br>
What's the proper ChucK idiom for automagically loading a class file from a file that uses that class?<br>
<br>
I can manually add MyClass.ck to the VM before loading the calling file, but that doesn't seem particularly scalable. Is there an idiom that is equivalent to "include" or "require" in other languages?<br>
<br>
- Rob<br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br>