Having trouble trying to use a lot of chars with switch. Can someone give me an example?
Originally Posted by HTML Having trouble trying to use a lot of chars with switch. Can someone give me an example? example in C# PHP Code: string[] strData = txtCommands.Split('-'); switch(strData[0]) { case "Hi": //Do Command Here; break; case "Bye": //Do Command Here; break; }
string[] strData = txtCommands.Split('-'); switch(strData[0]) { case "Hi": //Do Command Here; break; case "Bye": //Do Command Here; break; }
Originally Posted by Zanzabar You've hit a milestone with me for humoring me. Now it's no longer a typo, and a tangible llama that can be ridden to the wonderful world of drama. Originally Posted by Artificial We get it, you supposedly have a girlfriend. Fuck. Thomas says Who the hell DDOSs now days? That's like robbing a bank with a water gun.
Forum Rules