home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of the Best
/
_.img
/
02192
/
logbook.arc
/
AWARDPRN.PRG
< prev
next >
Wrap
Text File
|
1987-12-09
|
1KB
|
57 lines
* AWARDPRNT VERSION 871209 THIS PROGRAM PRINTS A award file
*COPYRIGHT (C) 1986 G3ZCZ
IF pf ='Y'
SET PRINT ON
ENDIF
STORE 99 TO linecount
STORE 1 TO pagecount
STORE 0 TO qsled
STORE 0 TO worked
USE &award INDEX &award
DO WHILE .NOT.EOF()
IF linecount > 60
EJECT
? award,' PRINTOUT as of ',DTOC(DATE ()),' FOR ',callsign,' PAGE',pagecount
IF choice = 'Q'
?? ' QSL STATUS'
ENDIF
STORE pagecount + 1 TO pagecount
?
? ' PX CALL DATE TIME BND MODE STATUS'
? '---------------------------------------------------'
STORE 5 TO linecount
ENDIF
IF dstate = ' ' .AND. choice <> 'P'
ELSE
IF dstate = 'W' .AND. choice = 'Q'
ELSE
? pc,dcall,ddate,dtime,dband,dmode,dstate
STORE linecount + 1 TO linecount
ENDIF
ENDIF
IF dstate = 'R'
STORE qsled + 1 TO qsled
STORE worked + 1 TO worked
ENDIF
IF dstate = 'W'
STORE worked + 1 TO worked
ENDIF
SKIP
ENDDO
?
?
? worked,' WORKED ',qsled,'QSL-D'
?
IF pf = 'Y'
EJECT
SET PRINT OFF
ELSE
WAIT
ENDIF
RELEASE choice,linecount,pagecount,worked,qsled
RETURN