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>dial()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Dial()

         Dials a phone number through the modem

    Syntax:

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

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

    Description:

         Dials a phone number through the modem. Don't forget to hang up
         at the end of each phone call and before to turn to dial.
         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()

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