Compare Block
The Compare Block is quick and simple to learn. It allows you to compare two different numbers just like you have learned in math class. You can type in a number inside the block or use data wires to pass in values from other blocks. It then compares the numbers that have been input to see if the operation set inside the block is true. The operations available are less than, greater than, and equal.
An example of this is, if A = 1 and B = 2 and the operation was Less than, then the statement that 1 < 2 is true. However, if the operation was Greater than, then the statement that 1 > 2 would be false. The result, true or false, is then output from the bottom data hub as a boolean.
An example of this is, if A = 1 and B = 2 and the operation was Less than, then the statement that 1 < 2 is true. However, if the operation was Greater than, then the statement that 1 > 2 would be false. The result, true or false, is then output from the bottom data hub as a boolean.
Back to Advanced Blocks