Forum Discussion
Radoslaw_74539
Nimbostratus
Apr 16, 2010tcl set command limit in iRule
Hi There,
I'm trying to find some info about the limitation for the tcl set command in iRule.
Basically for the following code:
when RULE_INIT {
set ::i 0
set ::reqkey rrr
}
when HTTP_REQUEST {
HTTP::header insert "Cookie" $::reqkey=$::i
incr ::i 1
}
what is the maximal value I can expect the variable "i" can be assigned to?
I'm new in TCL but have some programme background form c,c++, perl/python.
I looked at below links and try to search in the forum. But didn't find my answer.
http://tmml.sourceforge.net/doc/tcl/set.html
http://tmml.sourceforge.net/doc/tcl/SetVar.html
Thanks in advance
Rado
- hoolio
Cirrostratus
Hi Rado,when RULE_INIT { log local0. "\[expr 0x7fffffffffffffff\]: [expr 0x7fffffffffffffff]" log local0. "\[expr 0x8000000000000000\]: [expr 0x8000000000000000]" }
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