Eng:Operators Blocks

Operators blocks is one of the ten categories of Scratch blocks. They are color-coded light-green, and are used to script math equations and string handling. It was previously titled Numbers Blocks, but was renamed in Scratch 1.4 due to new blocks that handled strings.

There are currently six Boolean blocks and eleven Reporter blocks in this category. This and PicoBoard Blocks are the only categories to contain no Stack blocks.

Blocks
Scratch 2.0 has the following six Operators Boolean Blocks:


 * ([] < [])
 * ([] = [])
 * ([] > [])
 * (<> and <>)
 * (<> or <>)
 * (not <>)

Scratch 2.0 has the following eleven Operator Reporter blocks:


 * ( + )
 * ( - )
 * ( * )</sb>
 * ( / )</sb>
 * (pick random (1) to (10))</sb>
 * (join [hello] [world])</sb>
 * (letter (1) of [world])</sb>
 * (length of [world])</sb>
 * ( mod )</sb>
 * (round )</sb>
 * ([sqrt v] of (9))</sb>

Obsolete Blocks
Prior to Scratch 1.2, the of  block was two separate blocks, Abs  and Sqrt, with no other mathematical functions.

Suggestions
Scratchers have suggested an Operators block that solves exponents.

( ^ ) // category=operators

Some Scratchers have suggested true and false Booleans, however this has not been implemented, possibly due to the easy workaround.