Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASEs in DO CASE?
Message
 
 
To
03/06/2006 12:01:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126584
Message ID:
01126941
Views:
13
>>Thank you for your input. It makes sense. Though, I have changed my approach since my original message.
>
>I am curious - can you briefly outline, what sort of approach?

Sure. I decided to use a DO CASE (still <g>). But majority of the cases will be just one CASE with a couple of parameters passed. Then, a few cases will be hard coded right inside the CASE. And the few cases may go into a separate .PRG file or I will create one .PRG file with a bunch of functions/procedures. All in all, I see my DO CASE reduced to maybe half a dozen cases.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform