From: Graham Nicholls Date: 2004-07-06T00:47:40+09:00 Subject: Re: multiple returns from a function (sorry, method!) Graham Nicholls wrote: > Take a look at this method call: > > (line,format_line)=replace_tabs(line,fmt_line,@current_ruler) > > in the method replace_tabs, format line ha the right value, > but in the caller, its not receiving it. > > > This is how I'm returning the values: > return([line,format_line]) > > which I understand to mean that I'm returning an array, so I suppose I > need to know how to "unpack" the array into the two receiving values > > Thanks > Graham Nicholls > Doh!, it works - I just put in some debugging, andthe caller is getting the values. Problem must be elsewhere. Thanks, anyway! Graham -- With Linux, the answer's always "Yes"