The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

getkey()
Message #1 Posted by Tony Gallo on 22 Nov 2013, 12:34 a.m.

I am writing a program but seem to be losing keystrokes. I thought getkey got the most recent key pressed. But it seems to lose keystrokes.

      
Re: getkey()
Message #2 Posted by Mic on 22 Nov 2013, 2:21 a.m.,
in response to message #1 by Tony Gallo

Here is mine :

http://mic.nic.free.fr/hp/key_prime.zip

            
Re: getkey()
Message #3 Posted by Tony Gallo on 23 Nov 2013, 10:32 p.m.,
in response to message #2 by Mic

I am looping using getkey but sometimes I have to press a key more than once to register.

      
Re: getkey()
Message #4 Posted by Tony Gallo on 23 Nov 2013, 10:51 p.m.,
in response to message #1 by Tony Gallo

never mind...I put a smal wait in my loop and that seems to resolve the issue


[ Return to Index | Top of Index ]

Go back to the main exhibit hall