loop
{
loop
{
break
}
}how can i make the break count twice but not like this:
loop
{
loop
{
break
}
break
}
Posted 22 July 2004 - 06:30 PM
loop
{
loop
{
break
}
}loop
{
loop
{
break
}
break
}
Posted 22 July 2004 - 07:30 PM
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).