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 26, 2010Thanks for the "static::my_ohostavp" pointer. Would have missed that one right off.
I did go through and incorporate some switch statements in a few locations. So far, so good. Haven't tested the functionality yet, but once we do, I'll post some stats. I'me very curious to see what the differences look like.
-eaw
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
