Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exiting nesting loops
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00449008
Message ID:
00449023
Vues:
19
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 && 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?
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform