>I want to be able to highlite multiple lines of code in the command window and reexecute them at one time, in sequence. I changed jobs recently and I thought I was able to do this in VFP-7 but it does not work on my new VFP-8 setup. I can't find any refs to it in the documentation. When I highlite the following commands that were previously executed one at a time and press the [Enter] key it does not seem to do anything. The memvars do not exist if I try to show them:
>
As others have said, it's a scoping issue. I usually test in the command window, then copy and paste into an x.prg then make modifications, then when it is working like I want, save to a real program name. Using x.prg allows me to clean up quickly erase x.*
John
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright