home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of the Best
/
_.img
/
02192
/
logbook.arc
/
LOGBOOK.PRG
< prev
next >
Wrap
Text File
|
1987-12-24
|
3KB
|
106 lines
* G3ZCZ AMATEUR RADIO LOG PACKAGE 861128
* (c) COPYRIGHT JOE KASSER G3ZCZ 1985,1986,1987
SET HEADING OFF
SET SAFETY OFF
PUBLIC logndx, logbook, waz, was, award, dxcc, oblast, callsign, pf, gmt
SET TALK OFF
CLEAR ALL
STORE 'LOG ' TO logndx
STORE 'LOG ' TO logbook
STORE 'WAZ ' TO waz
STORE 'WAS ' TO was
STORE 'AWARD ' TO award
STORE 'DXCC ' TO dxcc
STORE 'OBLAST ' TO oblast
STORE 'G3ZCZ ' TO callsign
STORE 0 TO gmt
STORE 'LOGBOOK' TO susie
IF FILE(susie+'.MEM')
RESTORE FROM LOGBOOK
ELSE
CLEAR
@ 12,4 SAY 'INITALISATION SEQUENCE '
?
ACCEPT 'What is your callsign ? ' TO callsign
ACCEPT 'What is your offset to UTC (HH) ? ' TO cgmt
STORE VAL(cgmt) TO gmt
ENDIF
RELEASE susie
STORE ' ' TO task
DO WHILE task <> '*'
CLEAR
* DISPLAY MENU
@ 2,10 SAY 'G3ZCZ LOGGING PACKAGE VERSION 3.0'
@ 4,15 SAY 'COPYRIGHT (c) 1986, 1987'
@ 6,1 SAY 'Default LOG database is'
@ 6,25 SAY logbook
@ 8,10 SAY 'LOG FUNCTIONS L'
@ 9,10 SAY 'AWARDS A'
@ 10,10 SAY 'MISCELLANEOUS FUNCTIONS M'
@ 11,10 SAY 'DISPLAY FILES ON DISK DRIVE F'
@ 12,10 SAY 'POSITION QSL LABELS ON PRINTER P'
@ 16,10 SAY 'RETURN TO DOS Q'
@ 18,10 SAY 'QUIT LOG PACKAGE *'
@ 20,1 SAY 'QRU'
@ 20,10 GET task
READ
task = upper(task)
DO CASE
CASE task = 'P'
* positions labels for QSL's
ACCEPT 'Is Printer Ready ? ' to oktorun
oktorun = 'N'
DO WHILE oktorun <> 'Y'
SET CONSOLE OFF
SET PRINT ON
? 'TO RADIO '+CHR(14)+'G3ZCZ/W8'+CHR(20)
? '* * * * * *'
? '*** * * * * * *** *** *** **'
? '*** *** * * *** * *** * *** *** * *'
? 'LAST LINE'
?
SET PRINT OFF
SET CONSOLE ON
ACCEPT 'Are labels positioned properly (Y/N) ? ' to oktorun
oktorun = left(oktorun,1)
enddo
RELEASE oktorun
CASE task = 'F'
CLEAR
ACCEPT 'WHICH DRIVE ? ' TO diskdrive
diskdrive = LEFT(diskdrive,1)
STORE diskdrive + ':' TO diskdrive
DISPLAY FILES ON &diskdrive
RELEASE diskdrive
WAIT
CASE task = 'L'
DO LOGFUNCT
CASE task = 'A'
DO LOGAWARD
CASE task = 'M'
DO LOGMISCF
CASE task = 'Q'
SAVE TO logbook
QUIT
ENDCASE
ENDDO
RELEASE task,cgmt
SAVE TO logbook
USE
CLEAR
@ 12,12 SAY 'Enter QUIT <CR> to return to DOS'
@ 20,40 SAY '73 de G3ZCZ'
RETURN