[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Inheritance and v4.0
- From: Benjohn Barnes <b.barnes@...>
- Date: Fri, 14 Jun 2002 09:43:51 +0100
on 13/6/02 11:35 PM, Steve Dekorte at email@example.com wrote:
> On Thursday, June 13, 2002, at 11:10 AM, Gary Makin wrote:
>> I'm having trouble finding an example of how to implement
>> inheritance using version 4.0 of Lua.
> Here's one example:
I understand most of this example code I think. I'm confused about the
requirement for "addSlot" though. It's used in:
Is it a mechanism to allow a method's scope to be a "derived" object, rather
than the object that the method is defined in?
Is there a document describing this approach to implementing a prototype
Thanks very much,