On 6/8/08, Tracy Harms <[EMAIL PROTECTED]> wrote:
> The technique Raul proposed only works with literal and numeric input.

I am not sure what problem you are trying to solve, however that
technique can be made to work with boxes.

   ('';0;1;0 1) {L:0 1;:'abc def'
++-----+-----+---------+
||+---+|+---+|+---+---+|
|||abc|||def|||abc|def||
||+---+|+---+|+---+---+|
++-----+-----+---------+

Or, more generally:

   f=:4 :'x {L:(0,L.y)y'
   ('';0;1;0 1)f ;:'abc def'
++-----+-----+---------+
||+---+|+---+|+---+---+|
|||abc|||def|||abc|def||
||+---+|+---+|+---+---+|
++-----+-----+---------+

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

Reply via email to