Newsgroups: comp.sys.handhelds
Path: utzoo!utgpu!cunews!bnrgate!bigsur!bgtys6!dave
From: dave@bgtys6.uucp (Dave Hubert)
Subject: Re: (HP48SX)  Strange behavior...bug?
Message-ID: <1991Mar22.225252.8442@bigsur.uucp>
Sender: news@bigsur.uucp
Organization: Bell-Northern Research, Ottawa, Canada
References: <990@sousa.enet.dec.com>
Date: Fri, 22 Mar 91 22:52:52 GMT

In article <990@sousa.enet.dec.com> ervin@pinbot.enet.dec.com (Joseph James Ervin) writes:
>I have recently been experimenting with the KEY function on my HP48SX in
>preparation for some games programming, and I have seen some strange
>behavior that points to a possible bug.  I wanted to post my
>observations here so that other people could try to reproduce the
>behavior.
>
>Could people out there please try the above program and post a response
>to this message indicating the success or failure of the program?
>
>Thanks,
>
>>>>Joe Ervin

I just tried it out and I got the exact same behaviour.  Seems kinda wierd, since
the inner while loop catches the key_hit as a program on its own. It takes 
about 10-14 hits for the program to terminate.  I would venture a guess that when
it is in the outer loop and you hit the key, the key_hit is ignored, and the 
simpler program works because it is in a tight loop, ie. it never goes into the
outer loop.

-Dave. 


