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:11:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095239
Message ID:
00095379
Views:
23
>>>>How do I LOOP back to the top of a DO CASE while I am still
>>>>in the DO CASE?
>>>I don't know if I exactly understand the problem but...You do realize that the only case statement that is executed is the first one that returns .T. so if you can order the case statements so that they are in the order you want the to execute might help.
>>---
>>Hi Sammie
>>I want to return to the top of the DO CASE like I do in the DO WHILE .T.... there I use LOOP. Is there a LOOP for DO CASE?
>
>"DO CASE" is not a looping structure, thus no loop statement.
>
>Here is the syntax from the VFP Help file:
>Syntax
>
>DO CASE
> CASE lExpression1
> Commands
> [CASE lExpression2
> Commands
> ...
> CASE lExpressionN
> Commands]
> [OTHERWISE
> Commands]
>ENDCASE
>
>You will need to add extra logic or another CASE expression to do what you are trying to accomplish.
---
Hi Evan and thanks for your answer :)
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