Thread:Balagog gro-Nolob/@comment-667748-20130427150023/@comment-667748-20130508143048

"switch" requires an exact match, whereas "if" just answers true to "not-nothing". switch can be useful as a more powerful version of "if", allowing the else and or, for example:

This basically says "if "1" is empty or equal to 0, then print Missing argument, else print OK".