Quantcast
Channel: noob help with switch/case
Viewing all articles
Browse latest Browse all 11

noob help with switch/case

$
0
0
The problem is that even if the user selects a letter between a-g or A-G, then the code in the default section still executes as well as the code in the case section. I may be going the wrong way around this, but I thought default would only execute if the other case clauses are not met.

Thanks

Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>