From: "Peña, Botp" Date: 2002-12-10T09:52:56+09:00 Subject: Re: [YANQ] - how to create/modify []= Hi sir Gavin (aka Gavin Sinclair [mailto:gsinclair@soyabean.com.au]): Your wrote last Monday, December 09, 2002 6:16 PM: > Now this is strange: someone who doesn't like modifying > objects wants to modify classes instead! . I thought it wasn't a big deal. I just want to change behaviour. In general, I want methods to return copies of objects, not change them. In Arr#[]=, I want it to return an array since I see usefulness in it (rather than returning just the inserted value itself -why return something you know in advance??). > > Anyway, I thought it would be really easy, but I can't seem to do it. sirs Guy, Bj, Watanabe, and Martin have posted working copies. Of course, I do not know yet the repercussions of what I am asking... I am just after all a nuby :-( > Cheers, > Gavin Many thanks sirs Gavin, Guy, Bj, Watanabe, and Martin for the inputs. Kind regards, -botp