If you do not specify a default case for the Case structure to handle out-of-range values, you must explicitly list every possible input value. For example, if the selector is an integer and you specify cases for 1, 2, and 3, you must specify a default case to execute if the input value is 4 or any other unspecified integer value.
Complete the following steps to specify a default case.
You also can complete the following steps to specify a default case.
![]() |
Note Do not add quotation marks around Default. Doing so indicates that the value is a string, rather than the default case. |