Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO CASE vs IF
Message
From
28/12/2000 01:00:11
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, United States
 
 
To
27/12/2000 20:38:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00457199
Message ID:
00457246
Views:
26
My opinion is which ever one you use i.e. either CASE Statement or IF statement, you should put the option which has the highest chance to happen in the top and then the second highest chance option next and so on ... and the least in the last.
This way you could achieve the best efficiency in your code in the long run.


Kam.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform