Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute selection...
Message
From
03/09/1999 09:29:38
 
 
To
03/09/1999 08:47:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00261089
Message ID:
00261108
Views:
26
>Is there a way to programmatically execute a block of text contained within a string variable?
>
>I know you can break it down into individual lines and use runtime macro ...
>&cLine
>on each line.
>
>But is there a better way now with VFP?

Well... with VFP 6.0 SP 3 you can compile in the runtime... so... do a String to File, compile it, then run it.

Also, you can use Codeblock which will run a block of code passed to it. I think it is in the files section here.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform