[<<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 clearing pending
         keystrokes.  Allows function keys. It must input the ascii code of
         the key or the scan code.  The function keys have the ascii code at 0
         and indicate this value on the scan code.  The normal keys (not
         function) indicatet his value on the ascii code and this 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