I may not understand what you're looking for (AND this is quite LATE)...
% array set infoArr {
test1 {ip mask mac}
}
% set ip 10.1.1.1
10.1.1.1
% puts "Test1 IP: [lindex $infoArr(test1) 0]"
Test1 IP: ip
% set [lindex $infoArr(test1) 0]
10.1.1.1
... Maybe this does it. "ip mask & mac" are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.