lua-users home
lua-l archive

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

I realise this is nothing to do with the thread, and that all experienced Luaists will know this, but giving code snippets that use 'table' as an example table could be very confusing for a beginner if they where also using the table lib.

myTable would probably be a better choice

The nits have been picked ;)


for k in pairs(table) do
 table[k] = nil