News for hackers. Stuff that matters.
Re:Lua: Good, bad, and ugly parts by seany on Saturday March 09, 2013 @01:27PM (#5349136)
ipairs is gone in 5.2
Re:Lua: Good, bad, and ugly parts by Dylan16807 on Saturday March 09, 2013 @02:00PM (#5349237)
They changed ipairs around a couple times. It's currently in.

Either way you should be using not-pairs. If you construct a table in a weird way you can end up with pairs going out-of-order. ipairs works fine, also "for i=1,#t" works fine.