Hi, I need to do something I'm not sure is valid. I want to use a switch statement to check if an array of three characters is equal to another.
Eg I have the following possible combinations:
000
111
101
010
100
001
110
011
I want to check an array eg:
bob[0]=1
bob[1]=0
bob[2]=1
agains't the list to see which it is. Is this possible in a switch statement?
Thanks