![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 5.
expression1
|expression2
expression1,expression2
A number.
None.
Operator (bitwise); converts expression1
and expression2
to 32-bit unsigned integers, and returns a 1 in each bit position where the corresponding bits of either expression1
or expression2
are 1.
The following is an example of a bitwise OR operation.
// 15 decimal = 1111 binary x = 15; // 9 decimal = 1001 binary y = 9; trace(x | y); // 1111 | 0011 = 1111 // returns 15 decimal (= 1111 binary)
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |