[chuck-users] new to chuck having machine.add issues

Moisés Gabriel Cachay Tello xpktro at gmail.com
Tue Feb 11 00:17:39 EST 2014


i.e. Do not start paths with '/', it doesn't mean 'this folder', but the
'root' folder of your system.
El feb 10, 2014 6:14 PM, "Michael Heuer" <heuermh at gmail.com> escribió:

> Hello Amy,
>
> You should be able to just use relative paths if running chuck from
> the same directory as your .ck files.  For example
>
> $ cd my-chuck-files
>
> $ ls
> foo.ck
> bar.ck
> import.ck
>
> import.ck:
> Machine.add("foo.ck");
> Machine.add("bar.ck");
> <<<"done">>>;
>
> $ chuck import.ck
> "done" : (string)
>
>    michael
>
> On Mon, Feb 10, 2014 at 4:53 PM, Amy Crawford <blogincrazy at gmail.com>
> wrote:
> > Hi there!
> > I took the coursera course for chuck programming and all was going well
> > until I go to use machine.add() to make my score and all instruments
> > concurrent. for some reason it reads
> >
> > [C]: no such file or directory
> >
> > I added my files to another computer and the same exact thing occurred.
> >
> > every time I add the shred and Any time I use Machine.add() in any other
> > programs the same thing occurs even though i am using me.dir("/myfile.ck")
> I
> > can't seem to make any of my files concurrent to one another because its
> not
> > working. Any help is appreciated greatly!!
> >
> > Thanks!
> > Amy
> >
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> >
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140211/c48f7001/attachment.html>


More information about the chuck-users mailing list