lua-users home
lua-l archive

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

At 03:02 PM 6/10/2003, you wrote:
This may have been discussed before, but I couldn't easily find it in
the archives.

While I can't answer the question about the ambiguity, it is worth noting that this is illegal in lua 4.0.1, too.

This is illegal in Lua 5:

        t = { 1="hey", 2="ho" }

It must be written like this:

        t = { [1]="hey", [2]="ho" }

The question is why.  I assume there is some ambiguity that is being
addressed here, but I can't see it.