Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Advanced: nested whiles, interpreted in runtime
Message
 
 
To
01/09/2003 13:17:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00825087
Message ID:
00825153
Views:
15
It depends on VFP version, you're using. If it's VFP6, you would do:
lcTempPrg = m.lcPath + "temp.prg" && create name on the fly, I'm simplifying
if strtofile(myMemo,m.lcTempPrg) && it would never fail
   compile (m.lcTempPrg)
   do (m.lcTempPrg)
   erase (m.lcTempPrg)
endif
In newer versions you can just use execscript function.


>Does somebody has any idea of how to achieve this task?
>
>I save in memo fields validation routines.
>I run those routines then using macro substitution.
>It works but I want to have nesting Whiles and If blocks.
>Any sample code?
>
>thanks in advance,
>Pablo Velazco
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