() xor (): Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Blocks |
|||
⚫ | |||
|block_img = <gallery> |
|||
⚫ | |||
⚫ | |||
XorWorkarounds.png|Workarounds |
|||
</gallery> |
|||
|block_type = Boolean Block |
|||
|category = Operators Expansion |
|||
}} |
|||
⚫ | |||
==Workaround== |
==Workaround== |
||
This block can be worked around by checking if the booleans are not equal to each other, or by putting a xnor block in a not block. |
This block can be worked around by checking if the booleans are not equal to each other, or by putting a xnor block in a not block. |
Latest revision as of 03:57, 17 December 2023
() xor () | |
---|---|
[[File:
| |
Block Type | Boolean Block |
Category / Extension | Operators Expansion |
The xor block is a boolean block that outputs the xor logic gate. It outputs true if only one value is true, and outputs false if both are false or true. To get this block, one must add the "Operators Expansion" extension.
Workaround
This block can be worked around by checking if the booleans are not equal to each other, or by putting a xnor block in a not block.