lua-users home
lua-l archive

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

On Tue, Dec 22, 2009 at 7:16 PM, Peter Cawley <> wrote:
> In 1.5.2, "res = x and y or b" won't do what it says on the tin if y
> is (or can be) nil or false. I'd consider it important to say so.

Good point, just the thing to make people lose sleep tracking bugs. I
start to understand why there was a request for a ternary operator.