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