lua-users home
lua-l archive

[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"}