lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Sep 23, 2008 at 12:50 PM, Matthew Armstrong
<turkeypotpie@gmail.com> wrote:
>>>>
> So, if I could have this line:
> b = a.b
> ... do a copy instead of a reference assignment, I'd be ok.  There also
> might be some other ways to solve this problem, so I'm not hung up on using
> this method.

I'd guess the easiest way is to add a copy() method to your objects

-- 
Javier