At 1259325346 time_t, [email protected] wrote:
> So I can use metatables with __index() in Lua just like with tables?

Not sure I understand your question.
If you mean "Do __index metatable fields have the same effect on
userdata and on table", yes, they are.

> Could you throw together a simple example of your userdata-based class
> system (covering at least the core features if not more)? So that I don't need
> to spend the weekend figuring it out and can just try it out... :) thanks

I can't since it's not exported to Lua for now. I'm going to work on it
these next few days. :)

-- 
Julien Danjou
// ᐰ <[email protected]>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Anna Molly! Anna Molly! Anna Molly!

Attachment: signature.asc
Description: Digital signature

Reply via email to