I am trying to convert some old DOS PCPLUS scripts to v4.7 for Windows and
I can't seem to figure out how to convert these commands:
WHEN 0 "NO CARRIER" call getout
WHEN 1 "Timeout" call getout
WHEN 2 "call cleared" call getout
I figured out that checking $CARRIER tells me whether or not we're connected,
but how do you figure out that we've TIMED-OUT while $DIALING ?
Any wisdom would be appreciated!
Thanks,
Dom
P.S. The online help and the paper manual leave much to be desired!!
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
dialnumber DATA phonenumber ; phonenumber is a string containing
; the # you are dialing
while $DIALING ; loop until done dialing
endwhile
if ! $CARRIER ; if we didn't connect, then
errormsg "Sorry, not connected"
return ; I need to return, you may not
endif
The advantage to dialnumber is that it puts up a pretty dialog box, and will
retry the connection as many times as you are willing to wait. The default is
99 retries, but you can set it lower than that. Using dialnumber you don't
have to go through a lot of shenanigans that you otherwise would.
Hope this helps - I know I'm not addressing your issue directly. I find it
slightly humorous that you are at a bank - my 26 "BBSs" that I'm calling are
all banks, and what we're getting is the daily account information.
Bon chance!
--Bonnie
In article <7gsvna$k3n$1...@nnrp1.deja.com>,
Unfortunately, you cannot receive error codes from the modem with newer
versions of Procomm (newer meaning 4.0 or higher). This is due to Procomm
using TAPI to communicate to the modem instead of talking to the modem
directly.