From: "David A. Black" Date: 2003-12-20T05:57:05+09:00 Subject: Re: How to return more than one result from a method? Hi -- On Sat, 20 Dec 2003, Hal Fulton wrote: > David A. Black wrote: > > Anyway, Robert seemed to be suggesting that, of the two ways that have > > been demonstrated, returning a single array is the 'appropriate' way > > and that was what I wasn't following. > > A semantic issue. But then, isn't everything? > > The actual return is an array either way. Whether you then assign > it to one var or two is beyond the control or concern of the method. I should have said: I thought Robert meant that saving to one variable was the appropriate way -- i.e., I thought he was saying that there was something inherently bad about doing: a,b = meth and that one should always do: all = meth Aside from not having expressed clearly what I thought he meant, I later realized that he hadn't meant that anyway -- he was talking about the rhs (i.e., what's appropriate is to do: return a,b). David -- David A. Black dblack@wobblini.net