Hi, folks!

I need load shared library (.so) and execute from her my custom J function.
I was decide use for this JDo function (from libj.so).

JDo function need session ID (first parameter). How can I know id for current 
running J-session?

Details:

I have J-program.
From this program I'm use shared library.
I need function from shared library which used pointer to my J function.
But is unpossible know C-style pointer to my J function - J is interpretator.

I was decide use JDo from libj.so for call my function.
But I need my variables, my namespaces.

If I use Jinit from libj.so then my variables, my namespaces still be not 
accessible.
May be good variant is using JDo with my function as param.
But I need know current session ID for JDo for access my varibles from main 
script.


Nice day!
Sergey Kamenev
Moscow, Russia

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to