Version 6 of until

Updated 2007-08-17 15:37:46 by WilliamV

The procedure until is not in the core, but you can define it yourself as follows:

 proc until {cond code} {
    uplevel 1 [list while !$cond $code]
 }

See also control::do (in tcllib).

This doesn't implement the usual meaning of until, which executes the code and then tests cond after.


Category Control Structure