This is a technique question.
I have 16 dashboard switches, 1…16
Each switch represents a number on the dashboard, 1…16
What is the best way to assign an integer (1…16) to a variable based on the switch pushed?
If I push switch 12, then I want my Index_Integer = 12
I was considering using a CASE statement. But that seems like lots of code just to assign an integer to my index variable.
Thanks for the help.