Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>hangup()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Hangup()

         Hangs up the phone

    Syntax:

         Hangup( cPort [, cHangup] ) -> lError

         cPort   : The port where the modem is found.
         cHangup : The string to be send to the modem.

    Description:

         Hangs up the phone. Don't forget to hang up at the end of each
         phone call. The default port is "COM1" and the default Hangup
         String is "+++ATH0".

    Return:

         If there's any error returns .F. if not, returns .T.

    Example:

         ? "Dialing..."
         Dial ( "COM2", "94,4992660", "ATB0DP" )
         Inkey (0)
         ? "Hangup"
         Hangup ( "COM2", "+++ATH0" )

See Also: Dial()

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