lua-users home
lua-l archive

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

But a new problem comes - if the table 'a' has already a metatable which is not 'table', how to reach this shortcut format?

Steve, hmm, I am not there, maybe someday will go there to travel :) ....

On Thu, Jan 13, 2011 at 12:44 PM, Steve Litt <> wrote:
On Wednesday 12 January 2011 21:33:27 Javier Guerra Giraldez wrote:
> On Wed, Jan 12, 2011 at 9:31 PM, Tang Daogang <> wrote:
> > But I want to write
> > a:remove(2)
> setmetatable (a, {__index=table})

Oh man I'm really going to have to learn metatables.

Does any of you live in Central Florida? Maybe we can start a Lua User's


Steve Litt
Recession Relief Package