Hi Richard
Looking at the PBP3 Compiler Manual it only shows OR as the description for
| in the Bitwise operators. It does show OR as an operator in the Logical operators.
Regards
Jim
Hi Richard
Looking at the PBP3 Compiler Manual it only shows OR as the description for
| in the Bitwise operators. It does show OR as an operator in the Logical operators.
Regards
Jim
Logical operators are not bitwise operators
| does a bitwise OR
OR does a Logical OR
2 | 3 = 7
2 OR 3 = ! 0 [ not nothing ]
Warning I'm not a teacher
Yes I made a mistake. There is a difference between bitwise operations and logical operations. I vehemently apologize for the second part of my post.
Bookmarks