Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>comoff() - turn off dtr signal to stop receiving data</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     comoff() - turn off DTR signal to stop receiving data
  Usage:    comoff([<port>])
  Params:   integer <port> - the port # to turn off, optional, if
            left off then port #1 is assumed
  Returns:  nothing

 ---------------------------------- Example ---------------------------------

                 * initialize modem
                 cominit(2400,"N",8,1)

                 * set DTR and RTS to on to receive data
                 comon()

                 * receive data
                 do while .T.
                      if (comcheck())
                           mvar =  comin()
                           if mvar = "Y"
                                exit
                           endif
                      endif
                 enddo

                 * tell the other end to stop sending characters
                 comoff()

                 if (mvar = "Y")
                      do LOOKUP
                 endif


See Also: comout() comin() comcheck() comset() cominit() comoff()

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