For fun I was going to test this:
{.~1+i.4"0 1]a.{~65+i.4 4
That seems to crash jqt
On 13 Jan 2015 20:00, wrote:
(1+i.4){."0 1]a.{~65+i.4 4
A
EF
IJK
MNOP
On 13 Jan 2015 14:43, "Linda Alvord" <[email protected]> wrote:
Is there an easier way to get from Q to T in larger situations?
]Q=:4 4$'ABCDEFGHIJKLMNOP'
ABCD
EFGH
IJKL
MNOP
]R=: (1|.'ABCD'),(2|.'EFGH'),(3|.'IJKL'),:0|.'MNOP'
BCDA
GHEF
LIJK
MNOP
]S=:1 2 3 0 |."1 Q
|length error
| ]S=:1 2 3 0 |."1 Q
]T=:(|.i.4)|.!.' '"0 1 R
A
EF
IJK
MNOP
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm