The \r is the right one  thank you
but even with the correct end of line I tried several combinations \r and \n
but without success the error is value error or spelling error
also the profile.ijs  when I try to load it with JDo  give me back "value
error"
I have also put it in the executable directory but without success.


On Thu, Jan 2, 2020 at 4:06 PM David Lambert <[email protected]> wrote:

> Perhaps those /r should be \r ?
> > Date: Thu, 2 Jan 2020 12:18:00 +0100
> > From: Strale<[email protected]>
> > To:[email protected]
> > Subject: [Jprogramming] J lib question
> > Message-ID:
> >       <
> cal2u57zrpqnx32dag7v3bdgao6ufhunn6ycq61sgiic6oag...@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Hello
> >
> > I am trying to mix J with C++ in Linux
> > I have included in my C++ project jfex.h libj.h  and libj.so
> > after calling  JInit() I am able to execute simple sentences with JDo and
> > get the result with JGetA
> > but I am not able to define more sofisticate behaviours ex. define J
> > function with verb define
> > ex.
> >    int JDo(jt,"testverb =: verb define /r a=: 111 /r )");
> >    fails with error: domain error
> > or loading module ex plot.ijs
> >    fails with error: value error
> >
> > do I am doing something wrong as missing some initialisation?
> >
> > Cheers
> > Paolo
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
We are made of star dust
(Carl Sagan)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to