Switch <Int32>
This activity enables to select one choice out of multiple based on the value of the specified expression. The Switch <Int32> activity uses the integer expression. Labels are literals (no “ or ‘ characters). If there is no match, default options executed.
This activity is meant to be used mainly in Sequence activity.
Let’s say that Wizlink helps you memorizing the multiplication table. There is only one correct answer to a question “9x6=?”. So only one case (54) returns comment “right”, all other answers (cases) return the default comment “wrong”.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Display Name | Literal | Input | changes display name of the activity |
Expression | Int32 | Input | Int32 variable or expression |
Key | String | Input | case value (Int32) |