Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interesting use of Macro subtitution
Message
From
07/02/2000 13:10:17
 
 
To
07/02/2000 11:48:01
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00327715
Message ID:
00328364
Views:
27
>>StrToFile(lcStringOfCommands, 'temp.prg')
>compile temp.prg
>do temp.prg
>
>Does that work in the distributed exe too?

Yep.

>If that's possible, then why wouldn't i want to use the exe as a wrapper to call a more easily updateable prg- rather than re-distribute the exe and setup?

That's the point. You can just send a prg, and have the exe compile and execute it.

>And does StrToFile basically just replace the low-level Fopen/Fwrite complications? (Or Set Printer to problems)

It doesn't replace them, it's just a shortcut to create a file from a string. Something you could previously only do with FOPEN() et al.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform