The very first thing I wrote in the post that started this thread was:

I have a 3d array that is the formatted output of a table. I capture
> snapshots of it at different points in my processing, in a rank 3 array. I
> want to flip between pages to see how the processing progresses.  I thought
> I would clear the screen, then display the output, that being one of the
> stacked sheets.  Can someone point me in the right direction?  I have
> researched this for hours and just can't find the right manual or google.


Maybe I should have used the word clear a few more times.  In any case,
this worked perfectly and I am now able to clear the screen and display a
page of the table.  Thank you.

On Sun, Dec 24, 2017 at 2:40 AM, Ian Clark <earthspo...@gmail.com> wrote:

> Your thread subject says "Clearing a screen in jqt…" but I don't see it
> mentioned in your post.
> Do you also want to know how to clear the Term window (or an Edit window)?
>
>    wd 'sm set term text *hello world;'
>
> --empties Term and writes 'hello world'
>
>
> Accordingly:
>
>    wd 'sm set term text *'
>
> or:
>
>    wd 'sm set term text'
>
> --empties Term and writes an empty string.
>
>
> More wd commands to manage Term and Edit can be found here:
>
>    http://code.jsoftware.com/wiki/Guides/Window_Driver/Session_Manager
>
>
> IMO the reference material for wd is hard to find in jwiki unless you
> already know what you're looking for.
>
> It needs better signposting. The best place to start seems to be here:
>
>    http://code.jsoftware.com/wiki/Guides/Window_Driver/Command_Reference
>
> …which has links to "Other Documents".
>
> On Sat, Dec 23, 2017 at 10:10 PM, devonmcc <devon...@gmail.com> wrote:
>
> > I use an expression like this to update a column:   (97 98 99) 2}&.|: i.
> 3
> > 3
> >
> >
> >
> >
> > Sent from my Verizon, Samsung Galaxy smartphone
> > -------- Original message --------From: Henry Rich <henryhr...@gmail.com
> >
> > Date: 12/23/17  15:53  (GMT-05:00) To: programm...@jsoftware.com
> Subject:
> > Re: [Jprogramming] Clearing a screen in jqt and the best way to replace a
> > column
> > Your solution is good.  There is special code for most of it. See
> > warnings at
> >
> > http://code.jsoftware.com/wiki/Vocabulary/SpecialCombinations#Whole-
> > Array_Operations
> >
> > Another possibility is
> >
> >     (($,)~ _2 */\ $) 0 2 1 3 |: > array
> >
> > Henry Rich
> >
> >
> >
> > On 12/23/2017 2:29 PM, Jimmy Gauvin wrote:
> > > I was exploring the kind of problem lately and ended up with:
> > >
> > >     (,.97 98 99) (,2)}"1 i. 3 3
> > >
> > > Left rank never occurred to me.
> > >
> > > While we're playing with structures, is there a better way to unbox
> boxes
> > > of arrays than the following:
> > >
> > >     (2 2$2)<;._3 i.6 6
> > > ┌─────┬─────┬─────┐
> > > │0 1  │2 3  │ 4  5│
> > > │6 7  │8 9  │10 11│
> > > ├─────┼─────┼─────┤
> > > │12 13│14 15│16 17│
> > > │18 19│20 21│22 23│
> > > ├─────┼─────┼─────┤
> > > │24 25│26 27│28 29│
> > > │30 31│32 33│34 35│
> > > └─────┴─────┴─────┘
> > >     > ,.&.>/ ,&.>/ (2 2$2)<;._3 i.6 6
> > >   0  1  2  3  4  5
> > >   6  7  8  9 10 11
> > > 12 13 14 15 16 17
> > > 18 19 20 21 22 23
> > > 24 25 26 27 28 29
> > > 30 31 32 33 34 35
> > >
> > > maybe a tesselation inverse?
> > >
> > >
> > >
> > > On Sat, Dec 23, 2017 at 12:52 PM, Henry Rich <henryhr...@gmail.com>
> > wrote:
> > >
> > >> To modify acolumn:
> > >>
> > >> 97 98 99 (2})"0 1 i. 3 3
> > >>
> > >> 0 1 97
> > >>
> > >> 3 4 98
> > >>
> > >> 6 7 99
> > >>
> > >>
> > >> Henry Ric
> > >> ​h​
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> >
> > ---
> > This email has been checked for viruses by AVG.
> > http://www.avg.com
> >
> > ----------------------------------------------------------------------
> > 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
>



-- 
Of course I can ride in the carpool lane, officer.  Jesus is my constant
companion.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to