Bitwise/Boolean
The Bitwise/Boolean functions allow you to manipulate boolean values. You can use the functions to create conditions that affect the flow of the Logic program.
The Bitwise/Boolean functions are used to determine an output based on 2 inputs (except for the NOT function, which has a single input).
For more information, see the topics that are listed in the gray footer section at the bottom of this topic. Select the relevant entry to display the topic that you require.
For Bitwise, the functions are applied to the inputs. The function is applied to the two corresponding bits.
Example:
If the AND function is used with the following inputs:
Input 1: 011011
Input 2: 101101
The result is 001001. This works by applying the AND function to the corresponding bits. So, as the last two bits on each line are both 1, the result of adding those bits is 1 (true). The last but one bits on each line are 1 and 0, so the result is 0 (false) as both inputs are not true.