home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 September
/
VPR9809B.ISO
/
TERMINAL
/
NIFTY95
/
DATA.Z
/
SMNP10.SCR
< prev
next >
Wrap
Text File
|
1998-06-24
|
2KB
|
84 lines
!
! Copyright (c) 1996
! by NIFTY Corporation, Tokyo, Japan
! 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 NIFTY-Serve.
!
! FENICS-ROAD 3 MNP10:
! Connect to FENICS-ROAD 3 MNP10
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5"
!-V
NIMSCRIPT MNP10.SCR;
guide "MNP10 に接続されました";
Tries = 5;
wait until 10;
Wait_HOST:
if Tries = 0 goto Return_Failure;
Tries = Tries - 1;
wait
"*" goto Send_NIF,
%mdm_Failure goto Return_Failure
until 100;
goto Wait_HOST;
Send_NIF:
send "C NIF" & %CR;
Tries = 5;
Wait_FENICS3:
if Tries = 0 goto Return_Failure;
Tries = Tries - 1;
wait
"Enter Connection-ID" goto Send_FENICS3_Host,
%mdm_Failure goto Return_Failure
until 80;
goto Wait_FENICS3;
Send_FENICS3_Host:
wait until 10;
guide "サインアップを開始します";
send "PSG" & %CR;
Tries = 5;
Wait_ENQ:
if Tries = 0 goto Return_Failure;
Tries = Tries - 1;
wait
%ENQ goto Send_SIGNUP,
%NAK goto Return_Failure
%mdm_Failure goto Return_Failure
until 80;
goto Wait_ENQ;
Send_SIGNUP:
wait until 10;
guide "登録データを送信しています";
signup : Result;
guide "登録データの送信が終了しました";
if Result = %Success goto Return_Success;
if Result = %Cancel goto Return_Cancel;
Return_Failure:
define %FailureMsg = "FENICS-ROAD 3 が反応しません";
%ErrorCode = 2050;
exit %ErrorCode;
Return_Cancel:
exit %Cancel;
Return_Success:
wait until 10;
exit %Success;