home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of the Best
/
_.img
/
02192
/
logbook.arc
/
DXPDNQSL.PRG
< prev
next >
Wrap
Text File
|
1987-12-24
|
3KB
|
91 lines
* DXPDNQSL (c) G3ZCZ 1986
* DXPEDITION SPECIAL, QSL'S ONE CONTACT PER BAND FOR EACH call IN LOG
* will not print one for duplicates on each band
* WILL NOT PRINT CONTEST OR ALREADY QSL'D
* FOR 5 BANDS ONLY
USE &logbook INDEX &logndx
STORE 'O' TO tqsl
ACCEPT 'All QSOs or just those owed (A or O) ? ' TO tqsl
* ASSUME SINGLE UNLESS TOLD OTHERWISE
DO WHILE .NOT. EOF()
IF SUBSTR(call,1,1) <> '-' .AND. qslsent = '-'
IF tqsl = 'O' .AND. qslrx = 'R' .OR. tqsl = 'A'
STORE ' ' TO b1
STORE ' ' TO b2
STORE ' ' TO b3
STORE ' ' TO b4
STORE ' ' TO b5
STORE call TO tcall
DO WHILE call = tcall .AND. .NOT. EOF()
STORE .F. TO pqso
DISP
IF b1 = ' '
*FIRST QSO
STORE band TO b1
STORE .T. TO pqso
ELSE
IF band = b1
*worked
ELSE
IF b2 = ' '
STORE band TO b2
STORE .T. TO pqso
ELSE
IF band = b2
*worked
ELSE
IF b3 = ' '
STORE band TO b3
STORE .T. TO pqso
ELSE
IF band = b3
*worked
ELSE
IF b4 = ' '
STORE band TO b4
STORE .T. TO pqso
ELSE
IF band = b4
ELSE
IF b5 = ' '
STORE band TO b5
STORE .T. TO pqso
ELSE
IF band = b5
*worked on all bands
ELSE
STORE band TO b5
STORE .T. TO pqso
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
IF pqso
?? '**QSL**'
REPLACE qslsent WITH 'B'
DO QSLPRINT
ENDIF
SKIP
ENDDO
ELSE
DISP
SKIP
ENDIF
ELSE
DISP
SKIP
ENDIF
ENDDO
USE
RELEASE tcall,tband
RELEASE b1,b2,b3,b4,b5,pqso,joe,label2,tqsl
RETURN