lua-users home
lua-l archive

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


> I want something like |local v = t?t1?t2?t3|... (actually I want
> |local v = t?.t1?.t2?.t3|...)

Another option:

   local v = (((t or E).t1 or E).t2 or E).t3

(where E={} is defined somewhere in your code...)

-- Roberto