Forum Discussion
gerald_wegener_
Nimbostratus
19 years agoPossible to use SWITCH with variable
Is it possible to use switch to do the following using variables?
I've been trying for a while but can't get it to work using SWITCH.
-------
X = some random number say 50
A =10
B =4
C =6
----------
if { $X > $A } {
pool pool01
}
if { $X <= $B } {
pool pool02
}
if { (($X > $B) and ($X <= $A)) } {
pool pool3
}
Thank you for your help.
2 Replies
No RepliesBe the first to reply
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