Difference between revisions of "Select"

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

Revision as of 12:55, 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 (...)