[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why I leave Lua (Was: Re: [ANN] Lua 5.3.0 (work3) now available)
- From: Tim Hill <drtimhill@...>
- Date: Wed, 9 Jul 2014 13:23:05 -0700
On Jul 9, 2014, at 1:19 PM, Shmuel Zeigerman <shmuz@013net.net> wrote:
> On 09/07/2014 23:13, Tim Hill wrote:
>>
>> Anyway, in Lua you can always write “not x == y” :)
>>
>
> "1 ~= 2" is true but "not 1 == 2" is false.
>
> --
> Shmuel
>
Come now, my point was the semantics, not worrying about parentheses, which I assumed people would be able to figure out. However, for those who need it…
You can always use “not (x == y)” instead of “x ~= y”.
Better?
—Tim