From: Josef 'Jupp' SCHUGT Date: 2003-12-13T09:09:54+09:00 Subject: Re: Simple issue giving problems Hi! * Robert Klemme; 2003-12-12, 22:34 UTC: > "Josef 'Jupp' SCHUGT" schrieb im Newsbeitrag > usually > > a,b = b,a > > is sufficient. Of course. Unless the aim is an exercise in functional programming. > > > Using names dest, src would be okay for something like this: > > > > def assigner(dest, src) > > return [src, src] > > end > > How do you want to use that method? I can't see a use of this. I cannot see it, either. It was just the example involving least changes where src and dest make sense. Josef 'Jupp' SCHUGT -- http://oss.erdfunkstelle.de/ruby/ - German comp.lang.ruby-FAQ http://rubyforge.org/users/jupp/ - Ruby projects at Rubyforge ._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. Windows are best when they are "unseen" -- Chet Noll 27 Oct 2000