Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASEs in DO CASE?
Message
 
 
To
01/06/2006 17:58:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126584
Message ID:
01126622
Views:
28
>>
>>So I think you couldn't bother about this, but I am veeeery lazy too and I think programing 100 CASEs is more complicated and difficult to maintain then EXECSCRIPT(SomeField) ...
>
>I tried you suggestion with EXECSCRIPT and it does seem to be very easy and practical. And I can include the .DBF where I store the code inside the application file so customer cannot meddle with it.
>
>Thank you very much for your help.

Be aware of the problem with EXECSCRIPT that it can not see SET('procedure') functions. Better use old approach with strtofile and compile if you need to use some existing classes or functions.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform