|
Can you live with this: for k,v in pairs(tbl) do -- if type(k)~="number" then ... end end 16.12.2004 kello 07:59, Glenn Edgar kirjoitti: Hi
The source code indicates that a lua table consists of two parts, an array part and a hash table part. It also appears that ipairs iterates over thearray part and pairs iterates over both the array and hash table part.If my understanding is correct, I would like to ask the following question.What is the best way to iterate over the keys that are only in that hash tablepart of the table? Thanks for your help. Glenn Edgar