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
/
ISRAKAV.SCR
< prev
next >
Wrap
Text File
|
1992-12-09
|
2KB
|
63 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. !
! !
! IsraKav Script: !
! Connect to IsraKav !
! Success: returns %Success !
! Failure: saves error msg in %FailureMsg and returns %Failure !
! !
!---------------------------------------------------------------------!
Attempts = 7;
on cancel goto IsraKav_Cancelled;
show "Connecting to IsraKav";
if %BaudRate > 4 goto Send_2400;
wait until 1;
send %CR & "D" & %CR;
goto Wait_IsraKav;
Send_2400:
wait until 1;
send "@D" & %CR;
Wait_IsraKav:
if Attempts = 0 goto IsraKav_Failed;
wait
"TERMINAL=" goto Send_IsraKav_ID,
"@" goto Send_IsraKav_Address,
"NO CARRIER" goto IsraKav_Failed
until 85;
Attempts = Attempts - 1;
send %CR & %CR;
goto Wait_IsraKav;
Send_IsraKav_ID:
wait until 5;
send "D1" & %CR;
goto Wait_IsraKav;
Send_IsraKav_Address:
show "Sending IsraKav address...";
wait until 10;
send "3300014618" & %CR;
IsraKav_Success:
exit %Success;
IsraKav_Failed:
define %FailureMsg = "IsraKav: No Answer";
exit %Failure;
IsraKav_Cancelled:
exit %Cancel;