>>>Sergey,
>>>
>>>These do NOT work from the Command Window, but when I pasted them into a .prg and ran it I got no compile error and I got "abcdef" as result of the first and "abc" for the second.
>>>
>>>To me the second represents an example of the long-standing bug with VFp editor's colour coding.
>>>
>>Hi Jim,
>>
>>You're right, I tested it only from the command window. BTW, it works the same way in the program in VFP 6. Isn't it a bug itself that it works differently in the program and from command window?
>>
>>I totally agree with you on the color coding bug for continious comment lines. It hides problem insted of highlighting it.
>
>Sergey,
>
>I always have trouble trying to put multi-line commands in the command window anyway. What is the way to do this?
>
>Jim
Put then, then select and hit enter. The whole block would be executed.
If it's not broken, fix it until it is.
My Blog