IF...ELSE...ELSEIF...ENDIF
Kalipso - Form - Actions - Actions Description - Group Code - IF...ELSE...ELSEIF...ENDIF
The if-then construct (sometimes called if-then-else) is common across many programming languages. Although the syntax varies quite a bit from language to language, the basic structure looks like.
Action available for the following operating systems:
Parameters
Condition <unquoted string> - This parameter indicates a condition or conditions that is evaluated.
Usage
Consider the following variables and respecting values:
Variable
Value
VAR(0)
1
VAR(1)
2
VAR(2)
10
VAR(3)
0
VAR(4)
""
Example 1
Result:
Variable
Value
VAR(0)
40
VAR(1)
2
VAR(2)
10
Example 2
Result:
Variable
Value
VAR(0)
40
VAR(1)
2
VAR(2)
10
Example 3
Comparison made is 0 = "" and the result is "" Return: True
Example 4
Comparison made is "" = 0 and the result is "0" Return: False
Last updated