Forum Discussion
Eric_Flores_131
Cirrostratus
Oct 17, 2013iApp table parsing issue
According to the iApp wiki page Working with Tables it says that you can use the array set command with a lindexed value from a table variable -
array set columns [lindex $row 0]
So experimen...
- Oct 17, 2013
The "Working with Tables" example shows a variable $row that contains 1 row of the table. In your example, the variable $test contains the entire table. If you want a single statement that operates on $test, it would be either
or%array set a1 [lindex [lindex $test 0] 0]%array set a1 [join [lindex $test 0]]
Fred_Slater_856
Oct 17, 2013Historic F5 Account
The "Working with Tables" example shows a variable $row that contains 1 row of the table. In your example, the variable $test contains the entire table. If you want a single statement that operates on $test, it would be either
%array set a1 [lindex [lindex $test 0] 0]
or
%array set a1 [join [lindex $test 0]]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
