home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
BBSING
/
BBS
/
DBBS50.LBR
/
LIST-IT.CZD
/
LIST-IT.CMD
Wrap
OS/2 REXX Batch file
|
2000-06-30
|
896b
|
43 lines
* LIST-IT.CMD
* 02-02-85
* List the caller LOG
USE LOG
GO BOTT
* Check if log is empty...
IF #=1
? 'Sorry -- the caller log is empty.'
RETURN
ENDIF
? 'Press <SPACEBAR> to abort!'
?
DISP CAL:NMBR,NAME OFF
* Do while not space-bar is pressed and RN is not equal to 1
DO WHILE PEEK(337)#32 .AND. ##2
SKIP-1
DISP CAL:NMBR,NAME,BAUD OFF
ENDDO
IF MLEVEL=9 .AND. FULL:NAME='SYSOP'
?
? 'Delete the LOG?'
SET CONS OFF
WAIT TO CONFIRM
SET CONS ON
IF !(CONFIRM)='Y' .AND. FULL:NAME='SYSOP'
DELE ALL
* Don't delete the first record
GO 1
RECALL
PACK
ENDIF
IF !(CONFIRM)='Y' .AND. FULL:NAME#'SYSOP'
? 'Can not delete log file yet'
ENDIF
ENDIF
?
* Re-select the HEADER database
RELE CONFIRM