lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> fargs, nargs = {...}, select('#', ...)

That's a job for table.pack:

	fargs = table.pack(...)
	nargs = fargs.n

One of the motivations for table.pack.