I dispute that there is a problem here except when using that line of code. When using:
x=0
DO WHILE x # 27
x=INKEY(0)
?X
ENDDO
Each CTRL+S is reported accurately.
>Aleksey,
>
>This is about CTRL+S.
>
>Walter Meester has been urging you to attent his problem. See
BUG: CTRL+S misbehaviour Thread #
1121615 Message #
1121615. You have not participated in that thread.
>
>Other threads here, that go back several years, also indicate that someting is wrong with CTRL+S. Here is a piece of code:
>
>
? inkey(0),"<",inkey(0),"<",inkey(0),"<",inkey(0),"<"
>
>What I experience is that the first press of CTRL+S gives no reaction on screen, the second press shows TWO times the inkey value 19, the third press shows no reaction and the fourth press again shows TWO times the inkey value 19.
>
>Can you explain this?
>
>The deeper problem is that CTRL+S is reportedly terribly unreliable as a Save key combination.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05