> From: "Sherlock, Ric" <[EMAIL PROTECTED]>

> 
> ---Alex Rufon wrote:
> > Somebody here in the list gave me the following tacit definition last
> > year:
> >
> > adbom2bconsump=: [: (#~ (0 ~: 1&{"1))@; <@(0&{ ,. 1&{ ([EMAIL PROTECTED] ,. 
> > (] +//.
> > ["0) ,. [ * [EMAIL PROTECTED]) 2&}.)"1
> >
> >       adbom2bconsump i. 2 5
> > Now I have another task which has a similar requirement but  not exactly
> > the same input. So I was debugging this by executing the code one by
> > one. Then I remembered that there was supposed to be a way/method which
> > will automatically box the script by the order of execution.
> > The problem is, I can't remember it.
> 
> You might be referring to boxed syntax:
> Edit|Configure|Display|Display Form|Box
> 
> (I've used the tacit verb mean to circumvent linewrapping problems.)
> 
>    mean=: +/ % #
>    mean
> +-----+-+-+
> |+-+-+|%|#|
> ||+|/|| | |
> |+-+-+| | |
> +-----+-+-+
> 
> Or perhaps trace:
> load 'trace'
>    trace '(+/ % #) i.2 5'
> --------------- 3 Adverb -----
> +
> /
> +/
...

Here is a compact way to graphically box nested expressions,
which preserves compact linear form. You can easily doodle it 
manually, while visually scanning the structure.

  http://www.jsoftware.com/jwiki/OlegKobchenko/Map_Display

By its likeness, it is called Map Display.


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

Reply via email to