Flow Control

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.

v2_switch-int

 

 

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 TextStringOutputtext input by user
Display NameLiteralInputchanges display name of the activity
ExpressionInt32InputInt32 variable or expression
KeyStringInputcase value (Int32)