[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Type Metatables for Table and Userdata - Powerpatch
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 8 Dec 2012 08:27:17 +0200
> 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"}