lua-users home
lua-l archive

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


> >Luiz Henrique de Figueiredo wrote:
> Nobody is forcing you to use "strange" identifiers. If you do, you should
be
> aware that your script may not be portable. For some people, being able to
> use "strange" identifiers may be more important than portability.

>From the manual, "An expression like {x = 1, y = 4} is in fact syntactic
sugar for {["x"] = 1, ["y"] = 4}."

So is x or the sugared ["x"] an identifier? :)

-Lenny