Code: Select all
x.b = %00000010
Debug RSet(Bin(x), 8, "0")
Debug " "
Debug RSet(Bin(~x), 8, "0")
but
~x shows me a value of "11111111"
Shouldn't ~x show a value of "11111101"?
Can someone please explain why this is happening?
Code: Select all
x.b = %00000010
Debug RSet(Bin(x), 8, "0")
Debug " "
Debug RSet(Bin(~x), 8, "0")
Code: Select all
x.b = %00000010
Debug RSet(Bin(x), 8, "0")
Debug " "
Debug RSet(Bin(~x&$FF), 8, "0")
Code: Select all
x.b = %00000010
Debug RSet(Bin(x, #PB_Byte), 8, "0")
Debug " "
Debug RSet(Bin(~x, #PB_Byte), 8, "0")
Code: Select all
x.b = %00000010
Debug RSet(Bin(x), 64, "0")
Debug " "
Debug RSet(Bin(~x), 64, "0")