RosettaCodeData/Task/Metaprogramming/Tcl/metaprogramming-2.tcl

7 lines
119 B
Tcl
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
loopVar x from 1 to 4 {
loopVar y from $x to 6 {
puts "pair is ($x,$y)"
if {$y >= 4} break
}
}