hi!

i'm doing some work with the j.dll similar to jfex.c.  i'm trying to
understand the jfex code and i have posted it to

  http://www.jsoftware.com/jwiki/Interfaces/JFEX

in the hope of documenting the j.dll interface better.

the main problem i have at the moment is understanding the concept of
'break' in J.  breaks are handled in jfex with this code:

static char **adadbreak;
static void sigint(int k){**adadbreak+=1;signal(SIGINT,sigint);}
[ snip ]
        // in main()
        adadbreak=(char**)jt; // first address in jt is address of breakdata

i don't see how a break signal is sent to j.dll as it is caught by
sigint.  is the signal sent by incrementing **adadbreak?  should
adadbreak be decremented at some time?  when does j.dll read
adadbreak?

can you give me a sequence of keystrokes that result in a number of
break levels?  and that revert j.dll back to no breaks?


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

Reply via email to