Forum Discussion
amazingf1_19652
Nov 18, 2016Nimbostratus
Variable substitution in switch statement not working
variable substitution in switch statement is not working. For example here is the sample code. I tried removing the braces and put a \'' at end of each case, but no luck. My LTM is 10.x version. when...
amazingf1_19652
Nov 20, 2016Nimbostratus
Hi Vernon, Thanks for your much informative and elaborate answers. Appreciate it. I earlier tried to put the "\" at end of each case but gave me syntax error. your answer puts \ at the end of each line even inside the case. I am not sure if its feasible for me as I have some 200 lines of code in the switch statement, which includes another switch in one or more cases, and to keep \ at end of each line. I will try this out and see if that removes the syntax errors.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects