Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing Code within Memo fields in an EXE
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00112479
Message ID:
00112551
Views:
17
You can parse-out the lines and use macro substitution to run each of them individually.

Like, if you have a variable called DoMe which equals "select thistable", issue the command &DoMe, the program will select thistable.

Joe

>I know someone out there has had to come across this same problem. Can anyone shed some light?
>
>I have an app (exe) which uses a data dictionary concept. I store multi-line logic identical to a prg in MEMO field. In my case the code will execute agains some data for formatting it and well as any post processing purposes.
>
>In my approach, I simply read the memo field contents, write them out to a temporary prg and perform a DO (tempprg). This works great as long as the application in not an EXE.
>
>Do anyone have another approach or fix to my problem.
>
>P.S. Remember, this is beyong your typical 1 line EVALUATE() solution.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform