Index
 
  Reference for Wiring 1.0 (ALPHA) 0017+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name  

&= (bitwise AND and assign)

   
Examples  
unsigned int a = 60;	// 60 = 0011 1100 
unsigned int b = 13;	// 13 = 0000 1101 
 
a &= b;              	// 12 = 0000 1100 

Description   Combines bitwise AND and assign. The expression a &= b is equivalent to a = a & b.

비트 AND 연산과 지정 연산자가 결합한 연산자 입니다. 식 a &= ba = a & b과 같습니다.

   
Syntax  
expression1 &= expression2
   
Parameters  
expression1   any valid expression
모든 가능한 유효 표현식 (상수 예외)
expression2   any valid expression
모든 가능한 유효 표현식 (상수 포함)
   
Returns  
   
Usage   Application
   
Related   & (bitwise AND)
| (bitwise OR)
|= (bitwise OR and assign)
^ (bitwise XOR)
˜ (bitwise ones complement)
<< (bitwise bit shift left)
>> (bitwise bit shift right)