FANDOM


Boolean blocks are blocks that return a value of true or false. They are hexagonal, and are mostly found in the Sensing and Operators categories. They are accepted into many Control blocks, such as "If" "If, else" "Wait until" and "Repeat until" . Three Boolean blocks exist that manipulate other Boolean blocks- And, Or, and Not. And and Or accept two inputs; Not only accepts one. Here is a summary of these blocks' different possibilities(T=True, F=False):

AND OR NOT

F+F=F F+F=F T=F

F+T=F F+T=T F=T

T+F=F T+F=T

T+T=T T+T=T


Another useful Boolean block is the = block, as well as its cousins, < and >. They compare integers and strings. = returns true if strings are the same or integers are equal, < returns true if the first integer is smaller than the second, and > returns true if the first integer is larger than the second.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.