(>:i.3)|."0 2 i.3 4 4 5 6 7 8 9 10 11 0 1 2 3 8 9 10 11 0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7 8 9 10 11 Now do the same for columns. Linda Sent from my Verizon, Samsung Galaxy smartphone -------- Original message -------- From: Raul Miller <rauldmil...@gmail.com> Date: 2/25/19 11:34 AM (GMT-05:00) To: Programming forum <programm...@jsoftware.com> Subject: Re: [Jprogramming] Try again I have to wonder why you thought you could rotate four columns by specifying three different values for how far to rotate them? Anyways, rotate works on items, so to rotate individual columns differently you would also need make each of the columns be an independent item (so the items of each column would be independent of items of other columns during the rotation). In other words (for example): 1 0 1 0 |."0 1&.|: i. 3 4 4 1 6 3 8 5 10 7 0 9 2 11 I hope this helps, -- Raul On Mon, Feb 25, 2019 at 1:53 AM lindaalvord <lindaalv...@verizon.net> wrote: > > I expected this to rotate all columns and got aii rows.]b=:i.3 4 > 0 1 2 3 > 4 5 6 7 > 8 9 10 11 > (1|.i.3) |."0 2 b > 4 5 6 7 > 8 9 10 11 > 0 1 2 3 > > 8 9 10 11 > 0 1 2 3 > 4 5 6 7 > > 0 1 2 3 > 4 5 6 7 > 8 9 10 11How can I do that?LindaSent from my Verizon, Samsung Galaxy > smartphone > ---------------------------------------------------------------------- > For information about J forums see > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&data=02%7C01%7C%7Cec015c8387034175888108d69b3f29dc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636867092916097446&sdata=AQT8wbFpdZ12Xko7DOoJBN1I4qy9ICPQ4shtBP0m5T0%3D&reserved=0 ---------------------------------------------------------------------- For information about J forums see https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&data=02%7C01%7C%7Cec015c8387034175888108d69b3f29dc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636867092916097446&sdata=AQT8wbFpdZ12Xko7DOoJBN1I4qy9ICPQ4shtBP0m5T0%3D&reserved=0 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm