This is quite neat, though Thunderbird will probably spoil it:
(i.$~2#>:) 3
0 1 2 0
1 2 0 1
2 0 1 2
0 1 2 0
Mike
On 31/08/2015 08:35, Kip Murray wrote:
This is a resend of a message I tried to send earlier. --Kip Murray
---------- Forwarded message ---------
From: Kip Murray <[email protected]>
Date: Sun, Aug 30, 2015 at 8:27 PM
Subject: Pattern Puzzle
To: [email protected] <[email protected]>
Write a verb pt which produces the pattern shown below. --Kip Murray
pt 3
0 1 2 0
1 2 0 1
2 0 1 2
0 1 2 0
pt 4
0 1 2 3 0
1 2 3 0 1
2 3 0 1 2
3 0 1 2 3
0 1 2 3 0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm