You can force the verb to be rank 0 but doing that in table may not be a
good idea.

   table=:1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u"0/x')~
   1 2 3 (+ %) table 0 1 2 3
+---+---------------+
|+ %|0 1   2       3|
+---+---------------+
|1  |_ 2 1.5 1.33333|
|2  |_ 3 2.5 2.33333|
|3  |_ 4 3.5 3.33333|
+---+---------------+

​This makes it clear that it is rank 0.

    1 2 3 (+ %)"0 table 0 1 2 3
+-------+---------------+
|(+ %)"0|0 1   2       3|
+-------+---------------+
|1      |_ 2 1.5 1.33333|
|2      |_ 3 2.5 2.33333|
|3      |_ 4 3.5 3.33333|
+-------+---------------+​
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to