Quote:
Originally Posted by vanblah
Depending on the language you can use a SELECT statement too.
|
SELECT is the same as switch, which is a poor programming construct, and should not be used for great than / less than (equals is ok, but its still a bad idea)...
always use IF / ELSEIF / ELSE and not SELECT or SWITCH whenever you can!