View Single Post
  #1  
Old 02-06-2009, 01:11 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Variable argument count?

How do I pass all or some of my however many arguments to another function taking a variable amount of arguments?

As in lua's function foo(x, y, ...) something_with(x, y) bar(...) end, I guess.
Reply With Quote