lua-users home
lua-l archive

Re: Why Lua allow an extra comma after the last element of a table?

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


On Sun, Mar 10, 2013 at 7:39 AM, Ico <lua@zevv.nl> wrote:
> This allows easier generating of valid source code.
Also, I find it convinient, when adding new values to a table, to
always put the comma after the values. This reduces the number of
stupid "'}" expected near ..." errors.
-- 
NI!

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