The function definition syntax was introduced in Lua 5.0 ( manual ) Lua 2.5 (thanks to Louis for correcting me), but to use these varargs, you had to use the arg table. This was fixed in Lua 5.1, which allowed the use of the notation ... for definitions and access to varargs.
source share