home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of the Best
/
_.img
/
02192
/
logbook.arc
/
WASPRINT.PRG
< prev
next >
Wrap
Text File
|
1987-12-24
|
2KB
|
84 lines
* WASPRINT VER 860410 THIS PROGRAM PRINTS A WAS file
* COPYRIGHT (C) Joe Kasser G3ZCZ 1986
* called by logbook
CLEAR
STORE ' ' TO choice
@ 5,1 SAY ' '
ACCEPT 'Whole thing, worked/QSL-d, or just QSL-d (T,W,Q) ? ' TO choice
@ 10,1 SAY ' '
STORE ' ' TO df
STORE 0 TO cf
ACCEPT 'Which call area (0-9, for all enter 10) ? ' TO cf
?
?
ACCEPT 'DO you want hard copy (Y/N) ? ' TO df
IF df = 'Y'
SET PRINT ON
EJECT
ENDIF
STORE 0 TO qsled
STORE 0 TO worked
USE &was
CLEAR
? 'WAS PRINTOUT for ',callsign
IF choice = 'Q'
?? ' QSL STATUS'
ENDIF
?
? 'PX STATE CALL DATE BND MODE STATUS'
? '-----------------------------------------------------'
DO WHILE .NOT.EOF()
IF choice <> 'T' .AND. dstate = ' '
*
ELSE
IF dstate = '-' .AND. choice = 'Q'
*
ELSE
IF &cf = callarea
? pc,state,dcall,ddate,dband,dmode
IF dstate = 'R'
IF choice = 'Q'
ELSE
?? dstate
ENDIF
STORE qsled + 1 TO qsled
STORE worked + 1 TO worked
ENDIF
IF dstate = '-'
STORE worked + 1 TO worked
ENDIF
ELSE
IF &cf >9
? pc,state,dcall,ddate,dband,dmode,' '
IF dstate = 'R'
IF choice = 'Q'
ELSE
?? dstate
ENDIF
STORE qsled + 1 TO qsled
STORE worked + 1 TO worked
ENDIF
IF dstate = '-'
STORE worked + 1 TO worked
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
SKIP
ENDDO
?
?
? worked,' WORKED ',qsled,'QSL-D'
?
IF df = 'Y'
EJECT
SET PRINT OFF
ENDIF
WAIT
RELEASE qsled,df,worked,choice,cf
RETURN