Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO CASE vs IF
Message
De
27/12/2000 20:31:49
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
27/12/2000 20:25:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00457199
Message ID:
00457207
Vues:
31
>Cindy:
>
>Thanks for your reply :o)
>
>I did create a test, and still trying diffrent methods. So far, I've found that the IF's return a little faster. Is this a fact or is it just the way I'm setting up my code? Do you see a problem in using a whole bunch of IF/ENDIF's in place of a DO CASE?

I looked in HackFox and didn't see mention of speed issues. Could be that the CASE statements are turned into IFs anyways.

Personally, I think CASE statements are a lot easier to read. Microseconds of speed are seldom important in what I do.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform