home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
761.LOGPRINT.PRG
< prev
next >
Wrap
Text File
|
1985-09-28
|
2KB
|
71 lines
* LOGPRINT THIS PROGRAM PRINTS A LOG IN DATE ORDER
* COPYRIGHT Joe Kasser G3ZCZ 1985. VER 85/09/27-1
* CALLED BY LOGBOOK
* STRUCTURE FOR FILE: B:logbook.DBF
* FLD NAME TYPE WIDTH DEC
* 001 DATE C 008
* 002 TIME C 004
* 003 BAND C 003
* 004 CALL C 010
* 005 RX C 003
* 006 TX C 003
* 007 MODE C 004
* 008 POWER C 004
* 009 QSLSENT C 001
* 010 QSLRX C 001
* 011 COMMENTS C 010
STORE 99 TO linecount
STORE 1 TO pagecount
STORE 0 TO first
STORE 1 TO qsonumber
STORE ' ' TO page
STORE ' ' TO firste
ERASE
ACCEPT 'FIRST ENTRY ' TO firste
ACCEPT 'STARTING PAGE ' TO page
STORE VAL(page) TO pagecount
STORE VAL(firste) TO first
STORE ' ' TO df
ACCEPT 'Do you want a hard copy (Y/N)? ' TO df
IF df = 'Y'
SET PRINT ON
ENDIF
use &LOGBOOK
GOTO first
STORE first TO qsonumber
DO WHILE .NOT.EOF
IF linecount > 60
EJECT
? 'LOGBOOK PRINTOUT ',callsign,'PAGE',pagecount
STORE pagecount + 1 TO pagecount
?
?
? 'LINE NUMBER DATE TIME BND CALL RX TX MODE PWR '
?? 'S R COMMENTS'
? '---------------------------------------------------------'
?? '-------------------'
STORE 3 TO linecount
ENDIF
? qsonumber,date,time,band,call,rx,tx,mode,power,qslsent,qslrx,comments
STORE linecount + 1 TO linecount
STORE qsonumber + 1 TO qsonumber
SKIP
ENDDO
EJECT
SET PRINT OFF
?
WAIT
RELEASE df,firste,page,linecount,qsonumber,pagecount,first
RETURN