Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I return to the top of a DO CASE?
Message
From
28/04/1998 10:10:52
 
 
To
27/04/1998 16:35:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095239
Message ID:
00095378
Views:
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.
----
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
Previous
Reply
Map
View

Click here to load this message in the networking platform