lua-users home
lua-l archive

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


>One more question, is there a clerical error in >your last email? 
No,there is not.
>I think it should be foo({a = 10, b= 129}) >instead of foo{a = 10, b = "meh"}. 
When a table constructor is the only argument passed to a function,() is optional.