Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_inchrs()</b> - get number of characters in input buffer http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_inchrs() - get number of characters in input buffer

   nChars := tp_inchrs(nPort)

   nPort       Serial port number.

   Returns     Number of characters in input buffer.

   Returns the number of characters waiting in the input buffer.  The
   name of this function is tp_inchrs(), not tp_inchars().  I don't know
   why.

   Example:

       ? tp_inchrs(1)

See Also: tp_infree() tp_outchrs()

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