lua-users home
lua-l archive

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


> Once a newbie, always a newbie

Your code is certainly not a newbie's one. Metatables are a powerful
concept for advanced users.
And you use the inexistent __gt metamethod. An "advanced newbie" would
have double checked in the documentation for the name of the
metamethod.
This error shows that you are so fluent in Lua language that you don't
check your memory anymore.