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_isdsr()</b> - return dsr status http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_isdsr() - return DSR status

   lDSR := tp_isdsr(nPort)

   nPort       Serial port number.

   Returns     TRUE if DSR set, FALSE if cleared.

   Returns the status of the DSR input: TRUE if DSR is asserted, FALSE
   if DSR is negated.  DSR is the Data Set Ready input.  It is usually
   asserted whenever the device connected to the serial port is powered
   up, but may be negated if the device is not ready to accept input.

   Example:

       if .not. tp_isdsr(1)
           ? "Modem is not turned on"
       endif

See Also: tp_hshk() tp_mstat()

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