top of page
Admin

While loop for TCL

Until i becomes 11 the loop continue to puts $i

set i 1
while {$i < 11} {
    puts "i = $i"
    incr i
}

Output

i = 1

i = 2

i = 3

i = 4

i = 5

i = 6

i = 7

i = 8

i = 9

i = 10

1 view0 comments

Recent Posts

See All

Reading a csv file by using tcl

Reading a csv file procedure is similar to the other programming languages. # Open the CSV file in read mode set filePath...

コメント

5つ星のうち0と評価されています。
まだ評価がありません

評価を追加
bottom of page