From: gabriele renzi Date: 2003-12-12T10:01:59+09:00 Subject: Re: Simple issue giving problems il Thu, 11 Dec 2003 20:26:53 -0400, Brad ha scritto:: > >Sorry didn't mean to send that one. :) Hit wrong key sequence. > >What I was trying to say was... > >I was wondering if there were some way to allow manipulations of >function/methods parameters such that the calling processes variable >values would be modified. > >As I understand it now this is not possible, though being new to Ruby I >thought it couldn't hurt to ask. I don't think this is possible. The only thing you can do is wrap vars in a bigger datastruct (i.e. an array), then pass the object to your swapper method. Oh, and I think you can change variable bindings from within a Proc object, if that helps :)