home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1995 December
/
MG_1295.ISO
/
pcdirekt
/
kommunik
/
cserve
/
wincim-d
/
install
/
scripts.lib
/
DATEXP.SCR
< prev
next >
Wrap
Text File
|
1994-12-29
|
1KB
|
62 lines
!
! Copyright (c) 1994
! 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.5.2"
!-V
show "Verbindungsaufbau mit dem Datex-P-Netzwerk";
Tries = 5;
on cancel goto Return_Cancel;
FailStr = "Datex-P antwortet nicht";
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 = "Modemverbindung wurde abgebrochen";
Datex_Failure:
define %FailureMsg = FailStr;
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;