I can generate a 4x4 square with unique identifiers in each square:
]s1=.4 4${(4#'ABCD'),.(-.&' ')":4#1234
┌──┬──┬──┬──┐
│A1│A2│A3│A4│
├──┼──┼──┼──┤
│B1│B2│B3│B4│
├──┼──┼──┼──┤
│C1│C2│C3│C4│
├──┼──┼──┼──┤
│D1│D2│D3│D4│
└──┴──┴──┴──┘
How can I rotate each row a different amount?
I want to rotate row zero 0 cells left, row 1 one cell left, row 2 two
cells left, & row three 3 cells left?
How to do the same for columns?
Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm