If you know the ordinal then just pad until you reach it
local x = select(1, ...) becomes
local x = ...
local x = select(3, ...) becomes
local _, _, x = ...
That said, Gello did some testing that seems to have put paid to the myth about "Don't Use select ever" but "if you know the ordinal" why add overhead.
Last edited by Fizzlemizz : 09-29-16 at 01:48 AM.
|