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

Reply via email to