lua-users home
lua-l archive

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


> This is about that f(a1, a2, a3, a4) below. How does one access a1-a4 from inside the "xxx" script? Are they stored in some table or something?

Chunks are (and have always been) vararg functions. In 5.1 you can get their
args as ... . If you want to create a table, add this to the chunk:
	local arg={...}

--lhf