I have a simple script that dials a number until it gets a connection. I want to limit the number of times it tries to connect. How do I do that?
Current code:
Dial DATA "XXXXXX"
while $DIALING ; Loop while dialing.
endwhile
if $connectopen ; See if we're connected.
DownloadFiles() ; Goto downloadfiles proc
Current code:
Dial DATA "XXXXXX"
while $DIALING ; Loop while dialing.
endwhile
if $connectopen ; See if we're connected.
DownloadFiles() ; Goto downloadfiles proc