home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Curio City 9
/
CURIO9.bin
/
pc
/
internet
/
win
/
w95nim
/
program
/
data.z
/
SFENICS5.SCR
< prev
next >
Wrap
Text File
|
1997-09-10
|
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 CompuServe.
!
! FENICS-ROAD 5:
! Connect to FENICS-ROAD 5
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5"
!-V
guide "FENICS-ROAD 5 に接続されました";
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;
! send %CR;
goto Wait_HOST;
Send_NIF:
send "C NIF" & %CR;
Tries = 5;
Wait_FENICS5:
if Tries = 0 goto Return_Failure;
Tries = Tries - 1;
wait
"Enter C" goto Send_FENICS5_Host,
%mdm_Failure goto Return_Failure
until 80;
goto Wait_FENICS5;
Send_FENICS5_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 5 が反応しません";
%ErrorCode = 2050;
exit %ErrorCode;
Return_Cancel:
exit %Cancel;
Return_Success:
wait until 10;
exit %Success;