[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: tables with multiple indeces?
- From: "Pavol Severa" <pavol.severa@...>
- Date: Mon, 20 Mar 2006 15:29:29 +0100
there is probably nothing as funny as suggestions from a newbie - so
here is one:
if I got it right, an expression like t[1,2,3] is a syntax error.
would you find it reasonable if instead, whenever it meets a
comma-separated list as an index, lua would try to call the __index
(or __newindex) method of the metatable?