[thelist] What should Cint(True) return?

Peter Wakeford peterwakeford at intekom.co.za
Tue Nov 11 11:53:56 CST 2003


Can anyone experts out there tell me why Cint(TRUE) returns -1 instead of 1?

Why is TRUE in this function equating to a bit notation of 10000000 (where 1 is the MSB) instead of 00000001 (where 1 is the LSB)?
In signed binary notation 00000001 should = 1.

Any comments welcome.



More information about the thelist mailing list