Inkey and Sleep
Jay R. Ashworth
jra at baylink.com
Fri Apr 15 12:18:52 PDT 2005
On Thu, Apr 14, 2005 at 02:52:36PM -0400, Kenneth Brody wrote:
> Quoting Bob Stockler (Thu, 14 Apr 2005 14:16:31 -0400):
> [...]
> > Note that INKEY will hold _only_ the key that was last pressed
> > before it's executed.
>
> More accurately, INKEY will hold the _first_ key pressed that has
> not yet been read.
>
> For example, if you type "abcd" prior to hitting the INKEY, the
> returned value will be the "a", not the "d".
Well, that's not cause the next one will read the "b", will it? You're
in raw mode, so this oughtn't be an input queueing issue...
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
If you can read this... thank a system administrator. Or two. --me
More information about the Filepro-list
mailing list