lua-users home
lua-l archive

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


On 21 November 2017 at 10:55, Soni L. <fakedme@gmail.com> wrote:
> t:[table].insert("Hello")

That's not valid lua code.

Additionally, your code is only 5 lines of code that sets a global
object's metatable....
https://bitbucket.org/TeamSoni/cratable/src/73f6028ef90ee67ced148d894fd93a5333e9a8bd/cratable.lua?at=master&fileviewer=file-view-default#cratable.lua-24
I'm not sure why this is something that deserves to be its own module.