Description Operator (Professional web hosting) (bitwise); converts expression1 and expression2 to
Monday, November 26th, 2007Description Operator (bitwise); converts expression1 and expression2 to 32-bit unsigned integers, and returns a 1 in each bit position where the corresponding bits in expression1 or expression1, but not both, are 1. Example The following example uses the bitwise XOR operator on the decimals 15 and 9 and assigns the result to the variable x. // 15 decimal = 1111 binary // 9 decimal = 1001 binary x = 15 ^ 9 trace(x) // 1111 ^ 1001 = 0110 // returns 6 decimal( = 0110 binary) ^= (bitwise XOR assignment) Availability Flash Player 5. Usage expression1 ^= expression2 Parameters expression1,expression2 Integers and variables. Returns None. Description Operator (bitwise compound assignment); assigns expression1 the value of expression1 ^ expression2. For example, the following two statements are the same: x ^= y x = x ^ y Example The following is an example of a ^= operation. // 15 decimal = 1111 binary x = 15; // 9 decimal = 1001 binary y = 9; trace(x ^= y); //returns 6 decimal ( = 0110 binary) See also ^ (bitwise XOR) ^= (bitwise XOR assignment) 247
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.