Well, this does it, but I'm not sure what you are trying to accomplish.
'||',"1(>a),"1'||',"1(>b),"1'||'
||abc ||xyzxyz ||
||def ||xyz ||
||g ||xyz ||
||hijkl||xyzxyz ||
||mn ||xyzxyzxyz||
June Kim wrote:
Sorry for any confusion I made.
The result's separator between cells should be two vertical bars, ie. '||'
So,
a,&(]&.:>)b
+-----+---------+
|abc |xyzxyz |
|def |xyz |
|g |xyz |
|hijkl|xyzxyz |
|mn |xyzxyzxyz|
+-----+---------+
isn't what I'm looking for. It should be instead:
a verticalbar b
||abc ||xyzxyz ||
||def ||xyz ||
||g ||xyz ||
||hijkl||xyzxyz ||
||mn ||xyzxyzxyz||
Suppose you are to copy and paste the result into the J wiki and also
let it stay easy to modify when in edit mode.
On 3/24/06, Miller, Raul D <[EMAIL PROTECTED]> wrote:
p j wrote:
a=.'abc';'def';'g';'hijkl';'mn'
b=.'xyzxyz';'xyz';'xyz';'xyzxyz';'xyzxyzxyz'
a,.b
You see the table. What I want instead is, something like,
...
I don't completely understand what you are asking for, even
with the visual example.
Could you comment on how this differs from what you want?
a,&(]&.:>)b
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm