Logical vs bitwise NOT

Questions about the BASICtools and MakeItC
Post Reply
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Logical vs bitwise NOT

Post by YahooArchive »

I've always contended writing software is the art of fooling the
compiler to do what you want.

If you don't like the NOT as logical vs bitwise, and the present
parser in the compiler, define your own--

function LOGNOT(x)
if x then return 0
return 1
end function


if LOGNOT(xyzzy=plugh) then...

Post Reply