msteveb / jimtcl

Official repository of Jim Tcl, an open-source, small footprint implementation of Tcl
http://jim.tcl.tk/
Other
445 stars 123 forks source link

core: support multi-level break, continue from loops #261

Closed msteveb closed 1 year ago

msteveb commented 1 year ago

Experimental proposal for multi-level loop break, continue.

loop i 5 {
    loop j 6 {
        ;# This breaks out of both loops
        break 2
    }
}

Comments welcome