From: Josh Cheek Date: 2011-01-19T01:51:22+09:00 Subject: Re: Calling by Reference - Two Questions --00163628369cb03d89049a21b5f7 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 18, 2011 at 7:31 AM, Josh Cheek wrote: > On Tue, Jan 18, 2011 at 7:16 AM, Robert Klemme > wrote: > >> >> Calling self#[]= is something different - this is actually a method >> that must be implemented for the object that self points to. >> >> > Oh yeah, I should have made that more clear. Inside the method, self is the > array itself. So self[index] inside the method is the same as ary[self] > outside the method. > *ary[self] should be ary[index] --00163628369cb03d89049a21b5f7--