I think

  |:;"2 table

accomplishes the same thing.

On 3/30/07, Raul Miller <[EMAIL PROTECTED]> wrote:

On 3/30/07, Leigh J. Halliwell <[EMAIL PROTECTED]> wrote:
> But I want to do it with a variable number of columns.  After much trial
and
> error I've managed to do it with
>  > (,. each) / table
> But is there a better solution?  Thanks.

That's almost exactly what I would recommend.

Personally, I would phrase that as
   >,.&.>/table
but there's no real difference between my solution and yours.

If you want this as a verb, you can do something like
   unboxCols=:  [: > ,.&.>/

   unboxCols table

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to