lua-users home
lua-l archive

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

I'm with some of the other posters.

t[] = value

does not clearly say "append value to t" to me. 

If we really need

t[#t+1] = value 

to go faster, then the parser could be changed to recognise it as a special


-----Original Message-----
[] On Behalf Of Steve Heller
Sent: 11 September 2006 20:30
To: Lua list
Subject: Re: Shorthand for appending to a table (was Re: 5.2 feature list?)

25% can be significant in some applications. Anyway,
I'd prefer the "t[] = value" notation for brevity and