Thread: ipairs bugged?
View Single Post
07/21/14, 02:32 PM   #5
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
I always translated ipairs to mean indexedpairs so only ever use it for tables that I know were indexed 1 to #tab. For the most part I use pairs as most of my tables are indexed by name rather than a running counter.

If I use table.insert and I don't delete elements on the fly I use ipairs. Otherwise I would use pairs.
  Reply With Quote