Here is a verb that defeats the system's table adverb. What is going on?
table
1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u/x')~
0 1 2 3 (+ %) table 0 1 2 3 NB. misbehaves
+---+----------------------+
|+ %|0 |
+---+----------------------+
|0 | 1 2 3 _ 2 2.5 3.33333|
|1 | |
|2 | |
|3 | |
+---+----------------------+
0 1 2 3 % table 0 1 2 3 NB. normal behavior
+-+----------------+
|%|0 1 2 3|
+-+----------------+
|0|0 0 0 0|
|1|_ 1 0.5 0.333333|
|2|_ 2 1 0.666667|
|3|_ 3 1.5 1|
+-+----------------+
--Kip Murray
--
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm