lua-users home
lua-l archive

Question about table syntax

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


Lua allows to separate statements with semicolons. But works perfect
without them.
So I can write instead
a=1;b=2;c=3;
simply
a=1 b=2 c=3
Will it break anything if lua will behave same way with tables?
t={ a=1 b=2 c=3 }
instead of
t={ a=1, b=2, c=3, }

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