See http://jsoftware.com/pipermail/programming/2011-December/025933.html


R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: programming-boun...@jsoftware.com [mailto:programming-
> boun...@jsoftware.com] Namens Björn Helgason
> Verzonden: vrijdag 9 december 2011 20:44
> Aan: Programming forum
> Onderwerp: Re: [Jprogramming] Oblique Road to Success!
> 
> You more often have this confusion in explicit verbs with NBs
> 
> like this in J
> 
> verb=. verb define
> l o n g line       1 NB. description bla bla bla
> l o n g line   2                           NB. description bla bla bla bla
> bla
> l o n g line  3            NB. description bla bla bla bla bla bla
> )
> 
> wrap in e-mail
> 
> verb=. verb define
> l o n g line       1 NB. description
> bla bla bla
> l o n g line   2                           N
> B. description bla bla bla bla bla
> l o n g line  3            NB. descrip
> tion bla bla bla bla bla bla
> )
> 
> And can then not be copied easily from the e-mail to J
> 
> 2011/12/9 Raul Miller <rauldmil...@gmail.com>
> 
> > 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 <gos...@gmail.com>:
> > > 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 <j...@bron.us>
> > >
> > >> 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
> >
> ----------------------------------------------------------------------
> 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