home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
log
/
hamsys
/
hambhdr.bas
next >
Wrap
BASIC Source File
|
1987-05-27
|
1KB
|
29 lines
10 ' HAMBHDR - PROGRAM TO BUILD HEADER RECORD FOR A FILE
20 'CHANGE DATE - 5/27/87
30 '
40 '
60 OPEN DR1$+"HAMHDR.DAT" AS 3 LEN=24
70 FIELD 3,4 AS A$,4 AS B$,8 AS C$,8 AS D$ ' SET HEADER RECORD FLD
80 CLS
90 PRINT "This program can NOT check your input so be sure it is right!!!"
100 PRINT
110 PRINT : PRINT "Enter the date of the first record in the file"
120 PRINT "This must be in the format DD-MM-YY "
130 INPUT STRDATE$
140 PRINT : PRINT "Enter the date of the last record in the file"
150 PRINT "This must be in the format DD-MM-YY "
160 INPUT ENDDATE$
170 PRINT : PRINT "Enter the number of the last QSO."
180 PRINT " This will be the number assigned to the last one you entered."
190 INPUT NUMQSO
200 PRINT : PRINT "Enter the number of records in your file - BE CAREFUL HERE"
210 PRINT "Read the manual to get this number. This is the number of"
220 PRINT "physical records in the file. NOT the number of QSO's."
230 INPUT NUMREC
240 LSET A$ = MKS$(NUMREC) : LSET B$ = MKS$(NUMQSO) ' Put fields in
250 LSET C$ = STRDATE$ : LSET D$ = ENDDATE$ ' record
260 PUT 3,1 ' Write record out
270 RUN "mmenu
' Write record out
270 RUN "mmenu