[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
KeyStuff()
Stuff a character into the keyboard buffer
Syntax:
KeyStuff( nAscii, nCod ) -> Nil
Description:
Stuff a character into the keyboard buffer without clear pending
keystrokes.
Allows introduce function keys, wich doesn't make keyboard. It
must input the ascii code of the key or the scan code. The
function keys have the ascii code at 0 and indicate his value on
the scan code.
The normal keys (not function) indicate his value on the ascii
code and his scan code is at 0.
Return:
Nothing.
Example:
nKey := KeyScan()
KeyStuff ( nKey % 256, nKey / 256 )
See Also:
KeyScan()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson