fork download
  1. set x 0
  2. while "$x < 5" {
  3. set x [expr {$x + 1}]
  4. if {$x > 7} break
  5. if "$x > 3" continue
  6. puts "x is $x"
  7. }
  8.  
  9. puts "exited second loop with X equal to $x"
  10.  
Success #stdin #stdout 0.03s 5272KB
stdin
Standard input is empty
stdout
x is 1
x is 2
x is 3
exited second loop with X equal to 8