home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 28
/
PCGAMER28.bin
/
wincim
/
scripts.lib
/
POSSERVE.SCR
< prev
next >
Wrap
Text File
|
1995-09-13
|
963b
|
51 lines
!
! Copyright (c) 1995
! 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.
!
! Pos-Serve:
! Connect to Pos-Serve
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.6"
!-V
show "Connecting to Pos-Serve LL";
Tries = 5;
on cancel goto Return_Cancel;
Wait_PosServe:
if Tries = 0 goto PosServe_Failure;
Tries = Tries - 1;
wait
"@" goto Send_CNS,
%mdm_Failure goto PosServe_Failure,
"CONNECTED" goto Return_Success
until 80;
send %CR;
goto Wait_PosServe;
Send_CNS:
wait until 5;
show "Sending Pos-Serve LL address...";
send "cns" & %CR;
goto Wait_PosServe;
PosServe_Failure:
define %FailureMsg = "Pos-Serve LL not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;