>a back door solution for SMALL tasks is to use a text file ( program.txt )
>and ¯oexpand each line!
>
>eg
>use program.dbf && line c250
>zap
>append from program.text
>scan
>tcom=line
>&tcom
>endscan
>
>Plus you can create a new ".prg" on the fly, and execute it!
>
>( I developed this building kermit scripts from foxplus, needing phone #,s passwords, etc and find it works well in data driven programs where you can't keep tables on the right record, just append to the text file as you go, build the "prg" , and then run it! )
Sure, this "sort of" works, as long as you don't need any structures, like IF/ENDIF, SCAN/ENDSCAN, etc. But since SP3, you can write an entirely new .PRG file, with any commands that are supported by the runtime, and you can COMPILE it and execute it. You just can't tell it to DO your.prg and have it automatically execute it, like the developer's environment can do.