home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2005 November / PCWELT_11_2005.ISO / pcwsoft / autoit-v3-setup.exe / Examples / BitOR.au3 < prev    next >
Encoding:
Text File  |  2004-09-22  |  135 b   |  4 lines

  1. $x = BitOR(3, 6) ;x == is 7 because 0011 OR 0110 = 0111
  2.  
  3. $x = BitOR(3, 15, 32) ;x == 47 because 0011 OR 1111 OR 00100000 = 00101111
  4.