Bitwise Debug
Posted: Thu Feb 13, 2025 6:08 pm
Does Debug consider ~a as ~integer?
Code: Select all
a.a = 1
Debug ~a ; -2
a = ~1
Debug a ; 254Code: Select all
a.a = 1
Debug ~a ; -2
a = ~1
Debug a ; 254Thanks mk-soft! …but you didn't answer to my question ;( ;( ;(mk-soft wrote: Thu Feb 13, 2025 7:09 pm Be careful. The debugger considers everything as a signet. Is unfortunately so ;(
Yes, but for the program is an unsigned byte. It's a debugger output failure ...Piero wrote: Thu Feb 13, 2025 6:08 pm Does Debug consider ~a as ~integer?Code: Select all
a.a = 1 Debug ~a ; -2 a = ~1 Debug a ; 254
Code: Select all
a.a = 1
Debug Bin(~a,#PB_Ascii) ; -2
a = ~1
Debug Bin(~a,#PB_Ascii) ;