home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 November
/
PowerPlay1198.bin
/
Online
/
WINCIMIE
/
SCRIPTS.LIB
/
LATA.SCR
< prev
next >
Wrap
Text File
|
1997-05-08
|
2KB
|
74 lines
!
! Copyright (c) 1997
! 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.
!
! LATA:
! Connect to LATA
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
! Arg1 = False if Network setting is LATA-Ct, True if LATA
!
!+V
! "4.0.1"
!-V
show "Verbindungsaufbau mit LATA";
Tries = 5;
on cancel goto Return_Cancel;
Response_Char = ".";
if Arg1 = %TRUE goto Send_Response;
Response_Char = "H"; ! Ct. LATA selected
Send_Response:
if Tries = 0 goto LATA_Failure;
Tries = Tries - 1;
wait until 5;
send Response_Char;
wait until 2;
send Response_Char;
wait until 2;
send Response_Char;
wait until 2;
send %CR;
Wait_LATA:
wait
"*" goto Send_LATA_Host,
"COM^M" goto Return_Success,
"Err" goto Send_LATA_Host,
%mdm_Failure goto LATA_Failure
until 70;
goto Send_Response;
Send_LATA_Host:
send ".CPS" & %CR;
goto Wait_LATA2;
Wait_LATA2:
wait
"*" goto Send_LATA_Host,
"COM" goto Return_Success,
"Err" goto Send_LATA_Host,
"Host Name" goto Return_Success,
%mdm_Failure goto LATA_Failure
until 80;
LATA_Failure:
define %FailureMsg = "LATA antwortet nicht";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;