home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
n
/
newscr.zip
/
NEWSCR.EXE
/
DATEXP.SCR
< prev
next >
Wrap
Text File
|
1992-12-09
|
2KB
|
60 lines
!---------------------------------------------------------------------!
! !
! Copyright (c) 1991 !
! 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 Script: !
! Connect to Datex-P !
! Success: returns %Success !
! Failure: saves error msg in %FailureMsg and returns %Failure !
! !
! $Revision:: 1.1 $ !
! !
!---------------------------------------------------------------------!
show "Connecting to Datex-P";
Tries = 5;
on cancel goto Return_Cancel;
Wait_Datex:
if Tries = 0 goto Datex_Failure;
Tries = Tries - 1;
wait until 15;
send ".";
wait until 15;
send %CR;
wait
"DATEX-P:" goto Send_Datex_Host
until 30;
goto Wait_Datex;
Send_Datex_Host:
wait until 15;
send "R 4569002330" & %CR;
wait
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success
until 150;
goto Wait_Datex;
Datex_Failure:
define %FailureMsg = "Datex-P not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;