Forum Discussion
Thanadon_Wattan
Nimbostratus
Feb 16, 2005how to parse each element in "data group list"
when I use [llength $::data_group_name], an error occurs like this :
- list element in braces followed by "" instead of space while executing "llength $::CRP_Mapping"
anyone have any idea, what wrong with my syntax?
or have another syntax/function to get element in datagroup. Please help!!
my data group is 'string' type. thank you.
- bl0ndie_127134Historic F5 AccountI think you may be having problems with the underscores. Try putting the name inside braces like this ...
{::data_group_name}
- hoolio
Cirrostratus
The change you make to a datagroup should be made to the config running in memory, but will not be saved (even by manually running 'b save' to write the config from memory to file).when RULE_INIT { log local0. "\$::test_class: $::test_class (length: [llength $::test_class])" lappend ::test_class a_new_element log local0. "\$::test_class: $::test_class (length: [llength $::test_class])" }
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