Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASEs in DO CASE?
Message
From
02/06/2006 07:47:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126584
Message ID:
01126705
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform