Originally Posted by zgrssd
Now that you mentioned it I looked up the definition. It appears like "ipairs" for really only is a short version of "for i=1, #table, 1 do":
http://www.luafaq.org/#T1.10
|
With the minor difference that ipairs doesn't even need to get #table. The generator it returns simply stops at the first nil element.