Lua Programming/How to Lua/ipairs

The ipairs function provides an iterator that references all of the elements of a table in a similar fashion to the pairs function. However, unlike the pairs function, the ipairs function iterates the table elements in a particular order.

Last modified on 11 February 2011, at 21:39