[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Hangup()

         Hangs up a phone call

    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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson