in reply to Re: switch statement
in thread switch statement

"you may want to use given/when instead of switch because old Switch used ..."

I have to use old one, switch statement