# 3.5.10.7 Switch

## Description

Minimum Origin Version Required: 2019 SR0

This function is used to compare a value expression to a set of values val. If match is found, return the corresponding res. Up to 39 comparing values are supported. If no match is found, default value will be returned.