Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881620
Message ID:
00881685
Views:
28
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,
>
>As I see it, the KEYBOARD command stufes "hello" into keyboard buffer. After that WAIT WINDOW runs, reads "h" from keyboard buffer and exits as it suppouse to.
>
>>If you create the program having those two lines, and from the command window:
>>
>>do thisprogram
>>
>>you will not see the window with "hello", and on the command window you will see:
>>
>>ello
>>
>>indicating the first line works, and the first letter "h" kills wait window.
>>
>>>
>>>Why do you think that the second line is executed before the first is completed?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform