Logic Comparisons
Comparison blocks allow you to compare two values to determine how they relate to each other. These are essential for creating conditions.
Compare Numbers or Text
The main comparison block can check for equality or inequality.
Available Operators
- = (Equal): Checks if two values are exactly the same.
5 = 5is true.apple = orangeis false.
- ≠ (Not Equal): Checks if two values are different.
- < (Less Than): Checks if the first value is smaller.
- ≤ (Less Than or Equal)
- > (Greater Than): Checks if the first value is larger.
- ≥ (Greater Than or Equal)
Example
Checking if a variable score is greater than 100: