The following may be a simpler example of your problem.

  (2 2$;:'abc de fg h'),0$1 2 $a:
┌───┬──┐
│abc│de│
├───┼──┤
│fg │h │
└───┴──┘
  (2 2$;:'abc de fg h'),0 2$a:
┌───┬──┐
│abc│de│
├───┼──┤
│fg │h │
└───┴──┘
  (2 2$;:'abc de fg h'),0$a:
┌───┬──┐
│abc│de│
├───┼──┤
│fg │h │
├───┼──┤
│   │  │
└───┴──┘


----- Original Message ----- From: "Don Guinn" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Sunday, June 29, 2008 9:20 AM
Subject: [Jprogramming] Extra empty item from an empty table


Was doing some recursive directory searches and needed to combine the
results from multiple directories but when a directory did not find any
items I got an item of nulls. Looking at the example shown below, I don't
think I should get the item of nulls.

  (2 2$;:'abc de fg h'),;2#<,:;:'ww xxxx'
+---+----+
|abc|de  |
+---+----+
|fg |h   |
+---+----+
|ww |xxxx|
+---+----+
|ww |xxxx|
+---+----+
  (2 2$;:'abc de fg h'),;1#<,:;:'ww xxxx'
+---+----+
|abc|de  |
+---+----+
|fg |h   |
+---+----+
|ww |xxxx|
+---+----+
  (2 2$;:'abc de fg h'),;0#<,:;:'ww xxxx'
+---+--+
|abc|de|
+---+--+
|fg |h |
+---+--+
|   |  |
+---+--+

Why is there a third item which is empty in the last case? Am I
misunderstanding something about append?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to