home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
100 Smash Win 95 Games
/
100SMASH.iso.7z
/
100SMASH.iso
/
compsrv
/
scripts.lib
/
DATEXP.SCR
< prev
next >
Wrap
Text File
|
1996-09-23
|
1KB
|
62 lines
!
! Copyright (c) 1996
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! DATEX:
! Connect to Datex-P
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.9.1"
!-V
show "Connecting to Datex-P";
Tries = 5;
on cancel goto Return_Cancel;
FailStr = "Datex-P not responding";
Wait_Datex:
if Tries = 0 goto Datex_Failure;
Tries = Tries - 1;
wait until 15;
send ".";
wait until 15;
send %CR;
wait
%mdm_Failure goto NO_Carrier,
"DATEX-P:" goto Send_Datex_Host
until 30;
goto Wait_Datex;
Send_Datex_Host:
wait until 15;
send "R 4569002330" & %CR;
wait
%mdm_Failure goto NO_Carrier,
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success
until 150;
goto Wait_Datex;
NO_Carrier:
FailStr = "Modem connection lost";
Datex_Failure:
define %FailureMsg = FailStr;
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;