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”.

NameTypeCategoryDescription
ExpressionInt32InputInt32 variable or expression
KeyStringInputcase value (Int32)
Display NameLiteralMiscchanges display name of the activity