home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Des Monats 1995 October
/
CD10_95.bin
/
swdirekt
/
netze
/
wincimd
/
disk1
/
scripts.lib
/
TRANSPAC.SCR
< prev
next >
Wrap
Text File
|
1994-12-29
|
1KB
|
66 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.
!
! Transpac:
! Connect to Transpac
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5.2"
!-V
CompuServe_NUA = "19628030";
Tries = 5;
twice_tried = %FALSE;
on cancel goto Return_Cancel;
show "Verbindungsaufbau mit Transpac";
wait until 20;
send %CR;
Wait_Transpac:
if Tries = 0 goto Transpac_Failure;
Tries = Tries - 1;
wait
"TRANSPAC" goto Send_Address,
"ERROR" goto Resend_Address,
"LIB" goto Resend_Address,
%mdm_Failure goto Transpac_Failure,
"COM" goto Return_Success
until 80;
send %CR;
goto Wait_Transpac;
Resend_Address:
if twice_tried = %TRUE goto Cserve_NUA_Failure;
twice_tried = %TRUE;
Send_Address:
wait until 20;
show "CompuServe-NUA wird ⁿbertragen...";
send CompuServe_NUA & %CR;
goto Wait_Transpac;
Transpac_Failure:
define %FailureMsg = "Transpac antwortet nicht";
goto Return_Failure;
Cserve_NUA_Failure:
define %FailureMsg = "TRANSPAC: CompuServe-NUA wurde nicht akzeptiert";
Return_Failure:
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;