lua-users home
lua-l archive

Re: Table dot number?

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


Patrick Donnelly <batrick <at> batbytes.com> writes:
> Because it's ambiguous? A newer Lua coder might expect instead:
> 
> t.1 = 3 --> t[1] = 3
I understand, but what is the exact rule for what is allowed after the dot? Same
rules as names for variables?
Thanks

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