lua-users home
lua-l archive

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




On Fri, Dec 18, 2009 at 6:30 PM, Petite Abeille <petite_abeille@mac.com> wrote:
Right... in Lua... named parameters would be a table:
f( { a = b, c = d, ...  } )

Which is the main reason why parentheses around table arguments are made optional:
f{ a=b, c=d }