Use variables on case of a switch

You may want to consider this:

2 Likes