Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>keystuff()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    KeyStuff()

         Stuffs a character into the keyboard buffer

    Syntax:

         KeyStuff( nAscii, nCod ) -> Nil

    Description:

         Stuffs 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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson