Getting the number of indexes in an array.
View Single Post
01-23-14, 05:27 PM
A Pyroguard Emberseer
Join Date: Sep 2007
In this particular case I would just call RegisterEvent 3 times because it's shorter, easier to read, and would use less resources.
Otherwise, pairs or ipairs would be better than getting the length of the table to loop over it.
View Public Profile
Send a private message to semlar
Find More Posts by semlar