lua-users home
lua-l archive

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



On 19 Sep 2006, at 18:58, Rici Lake wrote:

But more Lua like would be:

a = { a = 1,
      b = { b = 2,
            c = {native = 1, rock = 2}[style] or 0
          }
    }

Yeah! -- the power and straight-line, Bauhaus-style elegance of Lua. No new keywords needed... :-)

With regards
- Stefan