I know they are both generic loops, I believe? However, what is the difference? Maybe an example? Many thanks!
✓ ANSWER ACCEPTED
What is the difference between pairs and ipairs?
1 answer
✓ Accepted answer
ipairs only iterates over numerical index, pairs iterates over all the table.
This discussion is preserved as it was. New answers, comments, and votes are closed.
