Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many CASEs in DO CASE?
Message
De
02/06/2006 07:47:22
 
 
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:
01126705
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>
>DO &cProcName.
>
>
>and create a separate procedure for each "CASE". Or maybe combine some CASEs into one procedure for convenience.

Just want to point that

DO (cProcName)

is faster and safer.

Also, although I agree that this is a better approach than the DO CASE, I'm still concerned about the idea of several hundred similar procedures to maintain. Is there really no commonality that would let you cut this down to a few procedures accepting parameters?

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform