Difference between revisions of "Select"
From OpenEUO
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
If index is a number, returns all arguments after argument number index. Otherwise, index must be the string "#", and select returns the total number of extra arguments it received. | If index is a number, returns all arguments after argument number index. Otherwise, index must be the string "#", and select returns the total number of extra arguments it received. | ||
+ | |||
+ | [[Table.concat]] | ||
[[Unpack]] | [[Unpack]] | ||
− | + | [http://www.lua.org/manual/5.1/manual.html#2.5.9 Lua Manual - Variadic Expressions (...)] |
Latest revision as of 12:19, 9 October 2010
select (index, ···)
If index is a number, returns all arguments after argument number index. Otherwise, index must be the string "#", and select returns the total number of extra arguments it received.