Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many CASEs in DO CASE?
Message
De
03/06/2006 15:35:33
 
 
À
03/06/2006 12:01:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01126584
Message ID:
01126941
Vues:
19
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform