Forum Discussion
Blake_79204
Feb 08, 2012Nimbostratus
lassign alternative
I'm having a hard time finding documentation for this that is specific to Big-IP v 11, but it looks like iRules are based on Tcl 8.4.6. The command lassign wasn't introduced in Tcl until v8.5. This ...
Blake_79204
Feb 20, 2012Nimbostratus
Maybe this?
set fields [split $ag_attributes "|"]
for {set i 0} {$i < llength $fields} {incr i} {
scan $fields {%[^=]=%s} $key $attribute
set table -subtable attributes $key $attribute
THEN LATER, TO RECALL DATA:
table lookup -subtable attributes <$key>
(input actual value of $key instead of $key)
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