Thread
:
Getting the number of indexes in an array.
View Single Post
01-23-14, 05:27 PM
#
5
semlar
A Pyroguard Emberseer
Join Date: Sep 2007
Posts: 1,060
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.
semlar
View Public Profile
Send a private message to semlar
Find More Posts by semlar