Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I return to the top of a DO CASE?
Message
De
27/04/1998 16:35:21
 
 
À
27/04/1998 15:59:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00095239
Message ID:
00095246
Vues:
20
>How do I LOOP back to the top of a DO CASE while I am still
>in the DO CASE?

If I understand correctly, you want to terminate the current case item execution at a certain point so it won't continue with the current code.

To do that, just move that case item code into a function and replace that section with the call to the function itself. Then, from the function, just RETURN at any given point so it will be back in the CASE. You will also have to add a DO WHILE condition to encapsulate the DO CASE. So, by returning to the case item, you would do return in the DO WHILE loop.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform