lua-users home
lua-l archive

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


> >         local x = 10, y
>
> This is incorrect syntax. You meant
>
> local x, y = 10

Actually, I believe the syntax is correct according to Lua multiple
assignments rule. It is the semantic that is questionable.

Marius Gheorghe
Software Group Leader
CableTest Systems Inc.
Cable testing, wire testing, backplane testing, connector testing
specialists
phone: +1 (905) 475-2607 / X234
email: mgheorghe@cabletest.com
web: www.cabletest.com