It would be interesting to know what you want to use it for. Quite often, you can solve the problems without dynamically creating code, simply by putting the required code into a class.
>Hi,
>
>Is there any way to get VFP to read in some method code from a text file at run time?
>
>I have tried to get reasonable text output from REPORT FORM cReport TO FILE cFname ASCII, but this produces very unreliable results, so I thought perhaps put all my low level file and @ SAY stuff into a text file and read and execute this at run time.
>
>Regards
>Doug Johnston
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)