Reference

Components
If Then Else
Description
This component implements an if/then/else conditional statement. In a language like C this would be written as follows:
if( control > condition1 )
{
// Then output for condition1
}
else if( control > condition2 )
{
// Then output for condition2
}
else
{
// Else output
}
For this component the If input defines the control variable this could be an int, float or string. You specify which of these using the Type input
(either “int”,”float” or “string”).
The 'Op' input defines the comparison operation, one of “=”,“<=”,”<”,”>' or ”>=”. If left blank then “=” will be assumed.
The conditions and corresponding 'then outputs' are provided as two string arrays. However, these can contain ints, floats or strings. Their
treatment in the comparison process is determined by the Type input.
Connectors
Inputs Type Outputs Type
The data type to be used,
“int”,”float” or “string”
String
The result of the comparison
String
The control variable
String
The comparison operation,
“=”,“<=”,”<”,”>' or ”>=”
String
155 of 494