LOFI Blocks – Logic

Logic value – boolean

LOFI_Blocks_Logic (1)

Returns logic value – TRUE or FALSE.

Parameters:

  • Value – TRUE, FALSE.

If you put a logic value in the field that expects a number value, the logic value will be converted to number – TRUE – 1, FALSE – 0.

Logical (boolean) multiplication – AND

LOFI_Blocks_Logic (2)

Boolean multiplication returns TRUE only if left and right value is TRUE otherwise the operation returns FALSE.

Parameters:

  • Left side of the operation – boolean value – TRUE or FALSE.
  • Right side of the operation – boolean value – TRUE or FALSE.

We use boolean multiplication when we want to test if both conditions are TRUE.

Logical (boolean) alternative – OR

LOFI_Blocks_Logic (3)

Alternative returns TRUE if either left or right side of the operation is TRUE. Only if both sides of operation are FALSE the outcome is FALSE.

Parameters:

  • Left side of operation – boolean value – TRUE or FALSE.
  • Right side of operation – boolean value – TRUE or FALSE.

We use the logical sum if we want to check whether one of the two conditions is met.