lua-users home
lua-l archive

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

Alex wrote:
> Does this mean that if one doesn't reference 'arg' anywhere in the vararg
> function's body 'arg' table will not be created upon calling such a function?

A local variable named 'arg' is always created, but as long as you
never reference it, the table it used to refer to is not created.