Hi Nadya,
I'd try to restructure the loops so that a hard coded escape isn't necessary. What are your exit conditions?
>Hi everybody,
>
>I want to exit by escape from the loop.
>The program structure is like this:
>
>do while oValid.lContinue
> for i=1 to FirstLoop
> for k=1 to SecondLoop
>
> etc. couple of scan..endscan, loops, etc.
> next
> next
> exit
>enddo
>
>How can I terminate multiple nested loops by escape?
kenweber
GCom2 Solutions
Microsoft Certified Professional