От: | #John | https://github.com/ichensky | |
Дата: | 19.12.18 17:49 | ||
Оценка: |
int i=0;
do {
for(...)
if(i>=length){ goto exit;}
for(...)
i++;
if(i>=length){ goto exit;}
do smth...
} while (++i < length);
exit:;
...
int i=0;
try{
do {
for(...)
for(...)
i++;
do smth...
} while (++i < length);
}
catch(Exception ex){ ... ignore ex ...}
exit:;
...