>>BTW in Bernard's situation (don't remember your code at the moment) I just noticed something.
>>He does :
>>bb = inkey(20, "H")
>>if bb ...
>>
>>Well if user presses a key then no problem. But what would be the value of bb if user doesn't key for 20 secs. Since I don't see the other parts of code I assume it would be logical (just declaration of bb).
>
>I don't see any problem. If key is not pressed during 20 seconds,
>inkey() returns 0 and bb gets value of zero. So bb is always
>numeric and can be compared with any number.
I stand corrected. You're right. It would return a numeric in any case (including mouse click -151- if "M" is provided).
Cetin