[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: yorick (updated package; fixes FTBFS on powerpc and obsolescence)



Le mercredi 16 août 2006 à 20:37 +0200, Christoph Haas a écrit :
> > > Testing:
> > >  Is there an easy way for idiots like me to try simple plots or
> > > something like that with your package? The "yorick" binary greets me
> > > but leaves me pretty alone. :)
> >
> > A short plot-oriented tutorial is available through:
> >
> >  #include "testg.i";
> >  grtest;
> >
> > Hit return after each plot.
> 
> Hmmm...
> 
> chaas@aldi:~$ cd /usr/share/yorick/i/
> chaas@aldi:/usr/share/yorick/i$ yorick
>  Copyright (c) 2005.  The Regents of the University of California.
>  All rights reserved.  Yorick 2.1.02 ready.  For help type 'help'
> >  #include "testg.i";
>  grtest;SYNTAX: syntax error near #include "testg.
> SYNTAX: missing close "
> SYNTAX: syntax error near <EOF>
> >
> 
> What am I doing wrong?

Sorry, my bad: no ";" in #include directives (this one gets me quite
often ;-). The semi-colons are overkill anyway in interactive mode (for
single statements). So:

#include "testg.i"
grtest

(Note: you don't need to cd to /usr/share/yorick/i/, I guess you did it
"just in case").

Regards, Thibaut.




Reply to: