Difference between revisions of "Select"

From OpenEUO
Jump to: navigation, search
Line 4: Line 4:
  
 
[[Unpack]]
 
[[Unpack]]
 +
 +
[[http://www.lua.org/manual/5.1/manual.html#2.5.9 Lua Manual - Variadic Expressions (...)]]

Revision as of 11:54, 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.

Unpack

[Lua Manual - Variadic Expressions (...)]