lua-users home
lua-l archive

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


Then write:

if bit.or(a,b)==0 || bit.and(c,d)==1 && !(bit.not(c)==1) ...

;)

But both examples are contrived anyway...  And just because a feature exists, does not mean you have to use it. :)  It would be nice to have though, esp if you wanted to redefine these things for a specific "type".

Mike

On Wed, Jan 7, 2009 at 10:06 AM, Shmuel Zeigerman <shmuz@013net.net> wrote:
Mike Panetta wrote:
[...]

This might be a nice feature for the next release...

Not to my taste. I wouldn't like to see the following:

if bit.or(a,b)==0 or bit.and(c,d)==1 and not bit.not(c)==1 ...

--
Shmuel