Forum Discussion
Michael_Hunzike
Nimbostratus
Mar 11, 2005Problem with elseif
Okay, this is driving me nuts...I'm trying to get a simple nested if statement working and it's not....
This works:
when HTTP_REQUEST
{
if {[HTTP::host] eq...
rapmaster_c_127
Mar 11, 2005Historic F5 Account
Hi,
The whitespace issue with elseif is a bug. The original TCL specification is actually pretty whitespace-sensitive, so we relaxed the whitespace rules. We missed a spot though. We'll be fixing it for elseif in an upcoming release, but if you follow BSD indentation style for now (brace on the same line as the expression) you should be fine.
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
