lua-users home
lua-l archive

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



>-----Original Message-----
>From: Roberto Ierusalimschy [mailto:roberto@inf.puc-rio.br]
>Sent: Thursday, September 02, 2004 7:57 AM
>To: Lua list
>Subject: Re: Lua 5.1 (work1) now available 
>
>
>About the work1 version:
>
>- the new vararg system is implemented. To keep compatibility, all
>vararg functions still have an "arg" variable. If the function uses
>the "..." expression, then it does not fill the "arg" variable.
>Otherwise, the "arg" variable gets a table with the vararg parameters,
>as before.

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?
Alex
>
>-- Roberto
>
>