condition () Statement
Syntax |
NONE
| |
---|---|---|
Semantics | Returns operand1 if the <boolean expression> evaluates to true, otherwise operand2 will be returned. Both syntactic forms are equivalent. Internally, the if statement is mapped to the condition operation. | |
Substitutables | operand1 , operand2 | The operands can be any variable or object attribute, a literal, a boolean or arithmetic expression. Both operands need to return the same type. |
Examples |
NONE
The second statement is equivalent. |
Example File (Builder project E2E Action Language/BaseTypes):
<your example path>\E2E Action Language\BaseTypes\uml\boolean.xml |