lua-users home
lua-l archive

Re: Type Metatables for Table and Userdata - Powerpatch

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


> I want to create OO objects like this:
>
> obj = ({"item1","item2","item3"}):class("list")
>
Why not simply create the object this way?
obj = list {"item1","item2","item3"}

AltStyle によって変換されたページ (->オリジナル) /