Try to search your question here, if you can't find : Ask Any Question Now ?

How to get the output that I want?

HomeCategory: stackoverflowHow to get the output that I want?
bhawya asked 1 week ago

Can someone point out what is wrong with my tcl script below … I am new to tcl and try to figure out how to get the output that I want.

I want the “for loop” prints out the content of descLvds1, descLvds2descLvds8 which is “LVDS1 loopback”, “LVDS2 loopback” … “LVDS8 loopback” but I can’t get the output that I want … here is part of the code, the problem is at the $descLvds$i, any help is appreciated …

set descLvds1 "LVDS 1 loopback"
set descLvds2 "LVDS 2 loopback"
...
set descLvds8 "LVDS 8 loopback"

for {set i 1} {$i < 9 } {incr i} {
    puts "Chan$i $descLvds$i"
}
1 Answers
Best Answer
Mikhail answered 1 week ago
Your Answer

2 + 1 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com