I need to use the switch statement with up to 255 cases?
I keep getting the out of range error
Out of range of what variable - what variable type? Or do you not think data types matters to your question?