Quote:
Originally Posted by xAndrewx
I don't use break, as it would carry on with the script. Calling return just stops the function at hand.
|
It's probably a better practice to always break; at the end of the switch, then use return. Personal preference I suppose though.