Thread: ipairs bugged?
View Single Post
07/21/14, 01:54 PM   #4
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by zgrssd View Post
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.
  Reply With Quote