Quantcast WoWInterface - View Single Post - Critique my code!
View Single Post
08-23-19, 01:10 PM   #11
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,674
Note that an integer loop is the same as ipairs(), but not the same as pairs(). The latter can be used when there are holes in your table or when your table does not have integer-based keys.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote