Forum Discussion
Eric_Werner_283
Nimbostratus
Aug 12, 2010Use of pipe in if statement
I'm trying to find out if I can configure an if statement that checks for one of a series of possible values, like this:
if { $avp_code == 304|305|309} {
do stuff
}
Is the syntax correct, or wou...
Eric_Werner_283
Nimbostratus
Aug 19, 2010Thought I had an extra curly brace at the end of the rule I copied in earlier. And maybe I do, but that's not the key here. Still getting a lot of syntax errors stating I need to use curly braces to avoid double substitution. In places that before I added the pipe statement I didn't need to use before.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
