lua-users home
lua-l archive

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


Roger Durañona Vargas wrote:
Do I need to load an specific library to use table.insert? Im getting
nil value error when I try to use it.

Are you in a module, in which case you need to do local table=table after your call to create the new module. Otherwise, don't forget to pass a table as the first argument if you call table.insert directly.