Version 5 of until

Updated 2007-08-17 15:36:15 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 would guarantee at least one execution of code.


Category Control Structure