From: Robert Klemme Date: 2003-12-26T19:51:51+09:00 Subject: Re: How to return more than one result from a method? "David A. Black" schrieb im Newsbeitrag news:Pine.LNX.4.44.0312191252330.28731-100000@wobblini... > 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). :-))) Exactly. Cheers & merry christmas! robert