Forum Discussion
Aurel
Cirrus
Dec 02, 2013Irule syntax issue : missing a script
Hi,
I'm having the error message on line 18 "missing a script".
What i'm trying to do with this iRule is to append one or two "0" when the $fract value contains only two or one digit, whereas most of...
Thomas_Gobet_91
Cirrostratus
Dec 02, 2013It's a problem on formatting.
After each if condition you have to add curly brackets.
if { your condition } {
What_you_want_to_do
}
else { other_condition } {
actions
}
Aurel
Cirrus
Dec 02, 2013That's it Thomas. I forgot the curly braces for the "What i want to do". A big thank you ! Strange that the irule editor said nothing about it, yet he's quite talkative usually.
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