There's a little more to it than that. See JfC, Ch 13 'Empty Operands', under 'Execution on a Cell of Fills'.
Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Schott > Sent: Wednesday, October 31, 2007 2:06 PM > To: Programming forum > Subject: RE: [Jprogramming] behavior of + with '' argument > > Dan, > > I can live with this explanation. No more is > needed. Thanks, again. > > > On Wed, 31 Oct 2007, Dan Bron wrote: > > + Ah, after I posted I'd wondered if I'd answered the wrong > question. I'll post a more considered reply later (the > technical answer is related to my original reply). > + > + But, for now, you might take the outlook that x+y adds > all corresponding pairs of numbers in x and y . In your > example, x is empty, so there are zero pairs of numbers; > consequently, zero additions are performed, producing an empty result. > + > + That it was not an error is a direct consequence of the > rule I hightlighted in my original reply. > + > + -Dan > + > + > ---------------------------------------------------------------------- > + For information about J forums see > http://www.jsoftware.com/forums.htm > + > > (B=) > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
