User Guide
Table Of Contents
84
blocks in the Variables section of the Blocks Palette for working
with variables:
4.4 Decisions
There are six blocks that you use to compare numbers and make
decisions. The result of these blocks is a “Boolean” value – either
true or false.
Two blocks in the Control section of the Blocks Palette are used
with the Boolean operator blocks to make decisions.
Block Description
set ? to ? Sets the value of a variable.
change ? by ? Increments or decrements a variable.
show variable Adds the specified variable to the Stage.
hide variable Removes the selected variable from the Stage.
Block Description
? < ? Is true if the first number is smaller than the
second, or false if it is not.
? = ? Is true if the two numbers are the same, or false if
they are not.
? > ? Is true if the first number is larger than the second,
or false if it is not.
? and ? Is true if the both of the attached blocks are true,
or false if either (or both) of them is false.
? or ? Is true if either of the two attached blocks is true.
If neither are true, then it returns false.
not ? Is true if the attached block is false, and false if the
attached block is true.