Forum Discussion
What is the Table variable data range?
According to the wiki, table incr takes two options beyond the subtable name: the key and the delta. So in the above statement, the "AccumulatedResponseTime" string would be the key - an arbitrary string value, and $currentResponseTime would be the delta - or amount to increment by. Without the delta the (numeric) table entry would be incremented by 1. If the table entry didn't exist, the key would be created with a value of 0. Is it possible then that $currentResponseTime is not a number?
You could, at the very least, encapsulate all of this in a catch statement:
http://www.tcl.tk/man/tcl8.4/TclCmd/catch.htm
Or verify that the delta value is a number before using it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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