dissect runs the sentence twice, once as you give it and again in the highly instrumented form needed for dissection (I do this just to make sure they produce the same results). When the sentence has a side effect, it happens twice. Maybe there should be an option to suppress this?

Also, perhaps I should add an option to allow a definition like at2 to be expanded before dissection. I'll have to think about that.

Henry Rich

On 8/7/2014 8:02 PM, Linda Alvord wrote:
Henry,

I found this a little surprising.  There are two copies of the viewmat.

load '~addons/debug/dissect/dissect.ijs' (change as necessary)
load 'viewmat'
at2=: 13 :'([:{:"1 *.) j./"1 y'
dissect 'viewmat at2"0 /~i:4'

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Fraser
Jackson
Sent: Wednesday, August 06, 2014 7:19 PM
To: Programming forum
Subject: Re: [Jprogramming] Announcement: Graphical sentence debugger for J

Thanks.  It is now working.  The confusion was here.

I thought I had transferred everything to J802, but had inadvertently used
J801.

Fraser.
----- Original Message -----
From: "Henry Rich" <henryhr...@nc.rr.com>
To: <programm...@jsoftware.com>
Sent: Thursday, August 07, 2014 11:06 AM
Subject: Re: [Jprogramming] Announcement: Graphical sentence debugger for J


Oh, I see... you are on J801.  I didn't test on J801, and I'm not sure it
will work there (the wd interface changed for 802).  Can you try J602 or
J802?

Henry Rich

On 8/6/2014 7:01 PM, Fraser Jackson wrote:
I have just reloaded from the package manager server.

It is reporting the version as 2.0.16.

When loaded the name dissect is not defined in the z locale.

Fraser
----- Original Message ----- From: "Henry Rich" <henryhr...@nc.rr.com>
To: <programm...@jsoftware.com>
Sent: Thursday, August 07, 2014 9:57 AM
Subject: Re: [Jprogramming] Announcement: Graphical sentence debugger for
J


I just loaded into a new session and it worked.  Make sure you have
got the latest version, at least 3.0.4, from Package Manager.

The name 'dissect' is defined in z locale.


I jumped the gun a bit with the 'control key' business.  That's how I
have it set up on my machine, and I hope that it will make its way
into the standard interface, but until that happens you'd need to add
control-key definitions on your own.

Henry Rich

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

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

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

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

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

Reply via email to