Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Jul 22, 2004 8:30 pm Post subject: |
|
|
The way to do it is with a variable:
| Code: | continue_outer_loop = y
loop
{
loop
{
continue_outer_loop = n
break
}
if continue_outer_loop = n
break
} |
You could also do a return or an exit if you want to break out of all enclosing blocks and return to the caller (or, in the case of exit, terminate the current thread). |
|