[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Newbie question on pairs and ipairs
- From: Glenn Edgar <glenn-edgar@...>
- Date: Wed, 15 Dec 2004 21:59:11 -0800
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 the
array 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 table
part of the table?
Thanks for your help.