home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 8
/
1995-07_Disc_8.iso
/
genie
/
airwarri
/
airwar2.lzh
/
H2HHOST.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-11-17
|
483b
|
34 lines
'
' Sample head-to-head host initialization
'
PRINT "\r\nAir Warrior head-to-head host initialization...\r\n" 1 0
SEND_INIT 10 0
RECEIVE 10 "OK"
ON 0 :INIT
ERROR_GOTO :NOMODEM
:INIT
WAIT 2
SEND_AUTOANSWER 10 0
RECEIVE 10 "OK"
ON 0 :DONE
ERROR_GOTO :NOMODEM
:DONE
PRINT "\r\nHost initialization complete\r\n" 1 0
PRINT "\r\nWaiting to receive incoming call\r\n" 1 0
DONE
:NOMODEM
PRINT "\r\nModem is not responding!\r\n" 1 0
ERROR_END