switch

This block is part of the attributes group and was last modified in core v10.4.28.

switch v10.4.28

Returns an attribute based on the given expression.

In pins 2
  • expression required
    value

    The expression to evaluate.

  • default
    uiattributes

    The default statement to be executed.

Out pins 2
  • output
    uiattributes

    Returns the attributes matching the expression.

  • match
    condition

    Returns true in case a match was found.

A typical wiring for switch: the uiattributes out pin feeds regular card.

Studio canvas example for the switch block: typical wiring for switch.

Version history

Introduced in v10.4.28.


Back to attributes Return to the main group to view all sub-groups Back to conditions Return to the group to view all blocks within this group