lua-users home
lua-l archive

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


On Wed, 9 Jul 2014 13:23:05 -0700
Tim Hill <drtimhill@gmail.com> wrote:

> You can always use “not (x == y)” instead of “x ~= y”.

I often forget about the whole '~=' thing because I started doing
exactly this when '!=' wasn't working, and decided I liked how it read
better. Having come from C, C#, and Perl, "if not (condition) then"
just seemed natural in Lua's word based syntax.

-- 
Aaron B. <aaron@zadzmo.org>