The | operator is the bitwise or:
0 | 0 = 0;
1 | 0 = 1;
0 | 1 = 1;
1 | 1 = 1;
0101 | 0111 = 0111;
0100 | 1100 = 1100;
Etc... There are many tutorials on bitwise operators.
The greatest pleasure in life is doing what people say you cannot do.
- Walter Bagehot The height of cleverness is to be able to conceal it.
- Francois de La Rochefoucauld