From: "Mark J. Reed" Date: 2003-12-20T02:36:54+09:00 Subject: Re: How to return more than one result from a method? On Fri, Dec 19, 2003 at 10:28:49PM +0900, David A. Black wrote: > > > That might be the best way if you don't need to deal with the two > > > values as a pair beyond getting them back from the method. > > > > Even if you need to deal with them as pair this is the appropriate method: > > Do you mean: even if you don't need to deal... ? No, the original message addressed the not-needing-to-deal; this was the opposite. The point is, the caller can do either: var1, var2 = obj.meth and thereby get the results in separate variables, or onevar = obj.meth and get the results as an array stored in a single variable. -Mark