Continuing the discussion from Replacing If Else Chains with Switch:
The person you are referring to is passing an
That function accepts
strings, if you want to pass the name bob to it, be sure to pass it as a string
Strings should be enclosed in single or double quotes. => Declare String Variables.