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_clearout()</b> - clear output buffer http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_clearout() - clear output buffer

   tp_clearout(nPort)

   nPort       Serial port number.

   Clears the output buffer, discarding all characters which have not
   been transmitted.

   Example:

       if alert("About to destroy data!;Is this OK?",{"Yes","No"})==1
           tp_clearout(1)      // Clear port 1 output buffer.
       endif

See Also: tp_clearin() tp_flush() tp_outchrs()

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