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

         Dials a phone number with the modem

    Syntax:

         Dial( cPort, cNumber [, cDial] ) -> lError

         cPort   : The port where the modem is found.
         cNumber : The phone number.
         cDial   : The dialing string.

    Description:

         Dials a phone number with the modem. Don't forget to hang up
         at the end of each phone call and before you dial again.

         The default port is "COM1" and the dialing string by default is
         "ATDP" to call by pulses. Write "ATDT" to call by tones.

    Return:

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

    Example:

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

See Also: Hangup()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson