{{luaapi}}
m (Cleanup) |
({{luaapi}}) |
||
| Line 1: | Line 1: | ||
{{luaapi}} | |||
Used to traverse a list. This function is usually used to capture the arguments passed to an ellipsis (...). The official usage of this function is to return a list (retN) starting from index to the end of the list (list). | Used to traverse a list. This function is usually used to capture the arguments passed to an ellipsis (...). The official usage of this function is to return a list (retN) starting from index to the end of the list (list). | ||
local ret1, ret2, retN = select(index, list) | local ret1, ret2, retN = select(index, list) | ||
| Line 57: | Line 58: | ||
-- number 2 | -- number 2 | ||
DEFAULT_CHAT_FRAME:AddMessage(select(1, ...))</pre> | DEFAULT_CHAT_FRAME:AddMessage(select(1, ...))</pre> | ||