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
28/04/1998 10:10:52
 
 
À
27/04/1998 16:35:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00095239
Message ID:
00095378
Vues:
21
>>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.
----
Hi Michel and thanks for your answer. I will probably use a do while .t....:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform