Just after posting, I was wishing I had said -

   pad =: 13 : '(($$y)# >./ $y) {. y'
   pad
] {.~ ([: $ $) # [: >./ $

to avoid being restricted to 2 dimensions...

- joey

At 12:21  -0400 2006/04/05, John Randall wrote:
Thanks for your essentially identical solutions.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to