Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exiting nesting loops
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Exiting nesting loops
Miscellaneous
Thread ID:
00449008
Message ID:
00449008
Views:
63
Hi everybody,

I want to exit by escape from the loop.
The program structure is like this:
do while oValid.lContinue && I added this at the top to allow exit by escape
  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?
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform