>
>Yes, I think it is a bug that the Command Window works differently. I think that is why I had so many problems with Command Window for multi-line, given that I most often pasted my own code there.
I rarely use Command Window for multiline commands, I prefer to run them from PRG file with right cick and "Execute".
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison