I think what he means is why are you calling it addonTable[1] instead of addonTable.Functions or whatever.
Also, "local F, V = unpack(select(2, ...))" is a very bizarre way of assigning those variables. You've already assigned "addonTable" to what you're pulling out with "select(2,...)" and using unpack could potentially be dangerous unless you're quite sure of the order of things.
Last edited by semlar : 11-09-12 at 08:22 PM.
|