switch case statement problem

JohnHoward:
Oh, ok. I was ignoring the } syntax mismatch.

I hadn't spotted that one. We appear to be talking at crossed purposes.

But you have

if (dispScreen = 5){

ending } right above the delay(100), so it encloses the cases 6 through 9.

Is that a syntax error to ignore or is that the problem?

The mismatch is another problem.