We already have that. avg=: ''1 :(0 :0-.LF) +/ % # )
avg 2 3 5 7 4.25 Note that if continuation lines are not indented you can have words which span multiple lines: AVG=: ''1 :(0 :0-.LF) a v g ) AVG 11 13 17 19 15 But I advise against doing this, because trailing spaces are invisible and different mailers may insert or delete trailing spaces. -- Raul 2011/12/9 Björn Helgason <[email protected]>: > When you write something in J and the line gets long it is ok inside J. > > When you want to send the line in e-mail and the line gets wrapped it would > be good to have a way of present the line as having a continuation on the > next line. > > Possibly have a utility that would wrap the lines before sendoff and mark > them. > > > > 2011/12/9 Dan Bron <[email protected]> > >> I can't speak for Raul, obviously, but: >> >> - J is a (programming) language >> - It is used to express (and sometimes execute) ideas, using a >> vocabulary >> >> So, asking "where did you get this?" of the sentence "(,+/&i./ 2{.1 1,~$y) >> u key ,/y" is not very different than asking it of the sentence "where did >> you get this?". >> >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
