>>Sergey,
>>
>>Why it is the correct behavior? More important is How to force VFP to READ the buffer first and after that implement the second line?
>
>Yuri,
>
>Can you explain in more details what you're trying to do?
Sergey, Martín,
I want the code works as it is written:
*1. implement keyboard input, meaning do it as if user did it manually
keyboard "hello" &&I need to see hello on the command window
*2. do subsequent line no matter what it is. For transparency here is the wait window command
wait wind "HELLO" &&I want to see this wait window waiting for user response
Interesting enough, Gerry Schmitz sometimes can get it, sometimes cannot:
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,15,881687