home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 April / PCWorld_2005-04_cd.bin / software / vyzkuste / autoit / 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.