Numeric
operator
palette
These
blocks are arithmetic and boolean operators.
-
Addition: Adds two numeric inputs (also can be used to concatenate strings)
-
Subtraction: Subtracts the bottom numeric input from the top input
-
Multiplication: Multiplies two numeric inputs
-
Division: Divided top input (numerator) by bottom input (denominator)
-
Identity: Identity function (used for spacing blocks)
-
Modulo (remainder): calculates remainder when dividing top input (numerator) by the bottom (denominator) input
-
Square root (Only available with Turtle Blocks)
-
Random number: generates a random integer between the minimum and maximum values
-
Number block: a numeric input
-
Greater than: boolean greater than operator (used with flow blocks)
-
Less than: boolean less than operator (used with flow blocks)
-
Equal to: boolean equal to operator (used with flow blocks)
-
Not: boolean not (Only available with Turtle Blocks)
-
And: boolean and (Only available with Turtle Blocks)
-
Or: boolean or (Only available with Turtle Blocks)
|
Blocks
|
Uses
|
|
|
Used
as numeric input in mathematic operators
|
|
|
Add two numeric inputs
|
|
|
Subtracts
bottom numeric input from top numeric input
|
|
|
Multiplies
two numeric inputs
|
|
|
Divides
top numeric input (numerator) by bottom numeric input
(denominator)
|
|
|
Modular
(remainder) operator
|
For
example
No comments:
Post a Comment