home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Welt 2006 January
/
PCWELT_1_2006.ISO
/
pcwsoft
/
autoit-v3-setup.exe
/
Examples
/
BitNOT.au3
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2004-09-22
|
207 b
|
10 lines
$x = BitNot(5)
#cs Comments:
Result is -6 because for 32-bit numbers
5 == 00000000000000000000000000000101 binary
-6 == 11111111111111111111111111111010 binary
and the first bit is signed
#ce