lua-users home
lua-l archive

Re: Syntactic sugar for function calls

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


> user { name = "Joe Bloggs", hosts { "jbloggs.bigco.com" } }
One table entry is named, the other is not.
You should separate these by a semi colon, or name both, or none.
user { name = "Joe Bloggs" ; hosts { "jbloggs.bigco.com" } }
user { name = "Joe Bloggs" , hosts = hosts { "jbloggs.bigco.com" } }
Axel.

AltStyle によって変換されたページ (->オリジナル) /