Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nesting case statements
Message
From
02/02/2005 20:02:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00983308
Message ID:
00983314
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all,
>
>I did a quick search of the archive but could not find a definitive answer.
>
>Can CASE statements be nested in VFP6?
>
>I have some IFs in a CASE that are not doing what I want and I thought a CASE inside a CASE would give me the control that I need.
>
>TIA

I think yes, you can. I see no reason why you should not be able to nest a CASE statement.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform