top of page
Admin

Creating for loop in tcl

You can create a for loop in TCL like below;

for {set i 0} { $i < 5} {incr i} {
puts “Loop number is : $i”
}

Output:

Loop number is : 1

Loop number is : 1

Loop number is : 1

Loop number is : 1

Loop number is : 1

1 view0 comments

Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page