>>Another trick you can do this way is to
>>
>>
private param1, param2, pcScript, plRet
>>* assignments to these variables, then
>>docmd("plRet=execscript(pcScript, param1, param2)")
>>
>>This way you aren't limited to running a single command.
>
>No, you cannot. The EXECSCRIPT() will run the code as external prg which will cause the same problem as in original post
Too bad. I thought I did it. One of the mental experiments on the edge... i.e. somewhere between experimental and just mental :).