08.08.2013, 20:30
I don't really understand where a switch and case are used for.
Is there a good purpose or is it used to shorten things? I've searched but couldn't find a clear explanation.
Hopefully you can give me a clear explanation and maybe an example.
Is there a good purpose or is it used to shorten things? I've searched but couldn't find a clear explanation.
Hopefully you can give me a clear explanation and maybe an example.