From: Robert Klemme Date: 2003-12-12T23:47:00+09:00 Subject: Re: Simple issue giving problems "Brad" schrieb im Newsbeitrag news:6X7Cb.117608$PD3.5834673@nnrp1.uunet.ca... > > True, in the case you present I would not expect a and b to be altered. > > But what I was wondering was if there were some way to allow > > manipulation of > > 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. Actually you don't need that since you can always use a parallel assignment: a,b = b,a foo[10], foo[7] = foo[7], foo[10] bar["x"], baz["eee"] = baz["eee"], bar["x"] > As I understand it now this is not possible, though being new to Ruby I > thought it couldn't hurt to ask. Seems like you come from a perl background where such aliasings exist... robert