home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
782.QTHPOINT.2
< prev
next >
Wrap
Text File
|
1985-09-28
|
768b
|
25 lines
10 REM QTHPOINT
20 REM By Joe Kasser G3ZCZ June 1979
30 X$="STNDATA,"
40 FOR I=1 TO 4 \ I$=STR$(I) \ I$=I$(2,2)
50 IF FILE(X$+I$)=3 THEN EXIT 80
60 NEXT
70 PRINT"file STNDATA - station data file missing"\ GOTO 210
80 OPEN#0,X$+STR$(I)
82 INPUT "What call area ", W$
90 READ#0,L$,C$,A,L1
100 REM L1 IS IN DEG (E)
140 OPEN#1,"QTHDATA"
150 READ#1,C$,B,L2
160 IFC$(1,1)= "*" THEN 206
162 IF C$(1,LEN(W$)) <> W$ THEN 150
170 GOSUB 5000
180 C$=C$+" "
190 PRINT#Z1 C$,%10I,D1,%10I,D2,%10I,R2
202 REM, CALL POINTING SUBROUTINE HERE
204 GOTO 210
206 PRINT W$, " is not in the data file "
210 CLOSE #0 \ CLOSE #1
220 STOP
5000 REM SUBROUTINE TO PERFORM CALCULATIONS