I saw this solution but I don't recall who sent it

On 2021-03-10 10:25 a.m., Tom Arneson wrote:
I sent this to programming earlier. It never came back to me, and I don't see 
that it ever got to programming.


On 03/10/2021 8:13 AM Tom Arneson <t...@tomarneson.com> wrote:


]a=.1 3 8;6 9;2 4;5;0;7
.
Don Kelly
┌─────┬───┬───┬─┬─┬─┐

│1 3 8│6 9│2 4│5│0│7│

└─────┴───┴───┴─┴─┴─┘

;a

1 3 8 6 9 2 4 5 0 7



On 03/09/2021 10:51 PM Lippu Esa <esa.li...@varma.fi> wrote:


Hello everybody

Every now and then even after all these years I stumble into something that 
should be simple but I just don't get it. It must be due to my still so sadly 
shallow knowledge of J. Please excuse me. I don't post my current solution here 
- it has kludge written all over it.

So, I need a verb f that does the following:

]a=.1 3 8;6 9;2 4;5;0;7
┌─────┬───┬───┬─┬─┬─┐
│1 3 8│6 9│2 4│5│0│7│
└─────┴───┴───┴─┴─┴─┘
f a
1 3 8 6 9 2 4 5 0 7

Any help will be greatly appreciated.

Esa

Tämän viestin sisältö liitteineen on luottamuksellinen ja tarkoitettu vain sen 
vastaanottajalle. Jos et ole viestin tarkoitettu vastaanottaja, pyydämme sinua 
poistamaan viestin liitteineen ja sen jälkeen ilmoittamaan asiasta välittömästi 
viestin lähettäjälle. Viestin sisällön paljastaminen, kopioiminen tai muu 
käyttö on kielletty.

The contents of this message and any attachments are confidential and meant 
solely for the intended recipient. If you are not the intended recipient, we 
kindly ask that you delete the message and its attachments, and immediately 
notify the sender of the email. Disclosing, copying or using the contents of 
the message is strictly prohibited.
----------------------------------------------------------------------
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