If / Else / Elseif
See the example to understand how to use the 'If/Else/Elseif' block.
Block for 'if', 'else if', or 'else' condition. If a value is true, then do some statements. You can also add 'else' and 'else if' conditions if required.
The setup screen appears when you click the gear icon and closes when you click it again. To add an 'else' and/or 'else if' condition, drag and drop them below the 'if' block in the setup screen.
Parameter: a condition
Comparison
See the example to understand how to use the 'Comparison' block.
Block for comparison operations. Returns true if both inputs are equal to each other. Available operators are '=' (equal to), '≠' (not equal to), < (less than), ≤ (less than equal to), > (greater than), and ≥ (greater than equal to).
Parameters:
A variable or a value.
An operator.
A variable or a value.
Logical Operator
See the example to understand how to use the 'Logical Operator' block.
Block for logical operations. Returns true if both inputs are true. Available operators are 'and' and 'or'.
Parameters:
A condition.
An operator.
A condition.
Negation
Returns true if the input is false. Returns false if the input is true.
Parameters:
A condition.
True / False
Block for true or false. Returns either true or false.
Null
Block for null data type. Returns null.
Test Block
Block for testing a condition. Check the condition in the test block. If the condition is true, it returns the 'if true' value; otherwise, it returns the 'if false' value.
Parameters:
a condition
a variable or a value
a variable or a value
Related Article: AppBuilder Code Editor
Next Article: Blocks under the 'Loops' Category