>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only