Version 5 of do..while

Updated 2005-10-17 06:51:43

See do...until in Tcl

See also while...wend in Tcl

There is a difference between do..until and whild..wend. By do..until the statment is executeted at least once

We can simulate such behaviour in Tcl by:

   while 1 {
      # ..statement
      if {expresion} break
   }

Category Control Structure