Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO CASE vs IF
Message
From
27/12/2000 20:31:49
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
27/12/2000 20:25:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00457199
Message ID:
00457207
Views:
29
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform