home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
misc
/
c3zcz_15
/
qthany.2
< prev
next >
Wrap
Text File
|
1985-09-28
|
768b
|
24 lines
10 REM QTHANY
20 REM By Joe Kasser G3ZCZ June 1979
30 INPUT "What is your call sign ",C$
40 INPUT "What is your latitude ",A
50 IF A < 0 OR A > 90 THEN 40
60 INPUT "Are you north of the equator ",L$
70 IF L$ = "" THEN 60
80 IF L$(1,1) = "N" THEN A = - A
90 INPUT "What is your EAST longitude ",L1
100 IF L < 0 OR L > 360 THEN 90
110 PRINT#Z1 "DIRECTION DISTANCE TABLE for ",C$," ",
120 PRINT#Z1 "LOCATED AT ",A," ",L1
130 PRINT#Z1
140 OPEN#1,"QTHDATA"
150 READ#1,C$,B,L2
160 IFC$(1,1)= "*" THEN 210
170 GOSUB 5000
180 C$=C$+" "
190 PRINT#Z1 C$,%10I,D1,%10I,D2,%10I,R2
200 GOTO 150
210 CLOSE #1
220 STOP
5000 REM SUBROUTINE TO PERFORM CALCULATIONS