{"identifier":34624,"topic":"Commands","name":"dial","text":"<code><pre>dial <i>posInteger<\/i> \n<\/pre><\/code>\n<code>dial <i>posInteger<\/i> with modem<\/code> \u00ac            [<i><code>modemCommands<\/i><\/code> ]<code> <\/code> The <code>dial<\/code> command generates touch-tone sounds for the digits in  <i><code>posInteger<\/i><\/code> through the Macintosh speaker. To dial the phone from HyperCard, you must either hold the handset up to the speaker of your Macintosh or use a device that feeds Macintosh audio output to the telephone. <br>\n<br>\nIf you use the<code> with modem <\/code>option, HyperCard sets up calls using the modem connected to the modem port.  For more information about using modems with HyperCard, see the Phone Dialer stack.  See your modem manual for valid <i><code>modemCommands<\/i><\/code>. <br><br>\n\n Note: If you include a hyphen in the number, place the entire expression in quotation marks. Otherwise, HyperCard performs a subtraction before dialing the number. <br>\n","related":{"98571":"dialingTime","99166":"dialingVolume"},"examples":"ask \"Enter a phone number:\"\nif it is not empty then dial it\n\ndial myHomeComputer -- if myHomeComputer contains a number\n\ndial \"415-555-1212\"  \n\ndial \"999-973-6000\" with modem  \n\ndial \"999-996-1010\" with modem \"ATS0=0S7=1DT\"  -- depends on your modem","demo":"<code><pre>on mouseUp\n  <b>dial<\/b> \"(123) 456-7890\"\nend mouseUp<\/pre><\/code>\n ","debug":{"9":["dial posInteger \rdia"],"10":["If you use the with "]}}