Upcoming SlideShare
×

# Trypto.bas

93 views
76 views

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
93
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
0
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Trypto.bas

1. 1. 1 GOTO 105 LIST 2900-30007 LIST 12000-1215010 MONTH\$ = LEFT\$(DATE\$,2)12 REM14 D2 = VAL (DAYS\$)16 IF VAL(MONTH\$)> 11 THEN 6018 IF VAL(MONTH\$)> 10 THEN 5820 IF VAL(MONTH\$)> 9 THEN 5622 IF VAL(MONTH\$)> 8 THEN 5424 IF VAL(MONTH\$)> 7 THEN 5225 1.3274048919754D-10 C RCUMFERENCE26 IF VAL(MONTH\$)> 6 THEN 5028 IF VAL(MONTH\$)> 5 THEN 4830 IF VAL(MONTH\$)> 4 THEN 4632 IF VAL(MONTH\$)> 3 THEN 4434 IF VAL(MONTH\$)> 2 THEN 4236 IF VAL(MONTH\$)> 1 THEN 4038 D3 = 0 + D2 :GOTO 10040 D3 = 31 + D2 :GOTO 10042 D3 = 59 + D2 :GOTO 10044 D3 = 90 + D2 :GOTO 10046 D3 = 120 + D2 :GOTO 10048 D3 = 151 + D2 :GOTO 10050 D3 = 181 + D2 :GOTO 10052 D3 = 212 + D2 :GOTO 10054 D3 = 243 + D2 :GOTO 10056 D3 = 273 + D2 :GOTO 10058 D3 = 304 + D2 :GOTO 10060 D3 = 334 + D2 :GOTO 100100 MONTH\$=LEFT\$(DATE\$,2) : B1\$="AM"101 DAYS\$= MID\$(DATE\$,4,2)102 D2 = VAL (DAYS\$)103 IF VAL(MONTH\$)> 11 THEN 125104 IF VAL(MONTH\$)> 10 THEN 124105 IF VAL(MONTH\$)> 9 THEN 123106 IF VAL(MONTH\$)> 8 THEN 122107 IF VAL(MONTH\$)> 7 THEN 121108 IF VAL(MONTH\$)> 6 THEN 120109 IF VAL(MONTH\$)> 5 THEN 119110 IF VAL(MONTH\$)> 4 THEN 118111 IF VAL(MONTH\$)> 3 THEN 117112 IF VAL(MONTH\$)> 2 THEN 116113 IF VAL(MONTH\$)> 1 THEN 115114 D3 = 0 + D2 :GOTO 150115 D3 = 31 + D2 :GOTO 150116 D3 = 59 + D2 :GOTO 150117 D3 = 90 + D2 :GOTO 150118 D3 = 120 + D2 :GOTO 150119 D3 = 151 + D2 :GOTO 150120 D3 = 181 + D2 :GOTO 150121 D3 = 212 + D2 :GOTO 150122 D3 = 243 + D2 :GOTO 150123 D3 = 273 + D2 :GOTO 150124 D3 = 304 + D2 :GOTO 150125 D3 = 334 + D2 :GOTO 150
2. 2. 150 REM200 HOUR= VAL(TIME\$) :N1\$ = "PM":SCREEN 9:SCREEN 0,0,0,0205 MONTH=VAL(DATE\$)207 DAY = VAL(MID\$(DATE\$,4))208 YEAR = VAL(RIGHT\$(DATE\$,4))210 MIN = VAL(MID\$(TIME\$,4)) : COLOR 1,3 : KEY ON220 KEY 1, "LON" : KEY 3,"PAR":KEY 4,"MOW":KEY 5,"TYO"222 KEY 6,"HNL":KEY 7,"SFO":KEY 8,"CHI":KEY 9,"NYC":KEY 10,"NVL"223 IF YEAR = 1992 THEN GOTO 224 ELSE 225224 ZN = 94 : ZM = 298 : GOTO 231225 IF YEAR = 1993 THEN GOTO 226 ELSE 227226 ZN = 93 : ZM = 304 : GOTO 231227 IF YEAR = 1994 THEN GOTO 228 ELSE 229228 ZN = 92 : ZM = 303 : GOTO 231229 IF YEAR = 1995 THEN GOTO 230 ELSE 231230 ZN = 91 : ZM = 302231 D=DAY:M=MONTH:Y=YEAR :REM 57 PRACTICAL PROGRAMS & GAMES IN BASIC KENTRACTON232 LET J\$(1) = "SUNDAY"233 LET J\$(2) = "MONDAY"234 LET J\$(3) = "TUESDAY"235 LET J\$(4) = "WEDNESDAY"236 LET J\$(5) = "THURSDAY"237 LET J\$(6) = "FRIDAY"238 LET J\$(7) = "SATURDAY"239 LET K = INT(.6 +(1/M))240 LET L = Y - K241 LET O = M + 12*K242 LET P = L/100243 LET Z1 = INT(P/4)244 LET Z2 = INT(P)245 LET Z3 = INT((5*L)/4)246 LET Z4 = INT(13*(O+1)/5)247 LET Z10= Z4+Z3-Z2+Z1+D-1248 LET Z11 = Z10-(7*INT(Z10/7))+1560 CLS :EE=0765 COLOR 12,0,0:PRINT"TRIP4.BAS COPYRIGHT 1990 PRESS P FOR GRAPH"906 F\$ = "ATOMS.BAS"907 OPEN F\$ FOR INPUT AS 1:WHILE NOT EOF (1) : COLOR 10,0,0908 LINE INPUT #1,A\$: X=X + INT((LEN(A\$)/80)+.99)909 IF X > 23 THEN LOCATE 24: PRINT "...more";X\$ = INPUT\$(1): X = X - 23: PRINT910 PRINT A\$ : WEND : CLOSE #1938 COLOR 10,0,0:PRINT"LATITUDES BELOW EQUATOR USE -(NEGATIVE) NUMBERS":COLOR0,3939 IF D3>104 AND D3<300 THEN 951950 COLOR 14,0,0:PRINT DATE\$ ,TIME\$" ";B1\$" CENTRAL STANDARD TIME ":COLOR0,3:GOTO 970951 COLOR 14,0,0:PRINT DATE\$ ,TIME\$" DAYLIGHT SAVINGS TIME - CENTRAL TIMEZONE" :COLOR 0,3960 D = DAY :M = MONTH:Y=YEAR970 COLOR 0,3:K1\$ = INKEY\$980 IF K1\$ = "" THEN 9701011 IF K1\$="S" THEN I\$="SHIP":GOTO 11801050 IF K1\$ = "M" THEN I\$ = "ALPHA":K\$ = "PLANE":GOTO 15401052 IF K1\$ = "N" THEN I\$ = "ALPHA":K\$ = "PLANE":GOTO 15401060 IF K1\$ = "P" THEN I\$ = "PLANE":GOTO 1410
3. 3. 1062 IF K1\$ ="H" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351070 IF K1\$ ="Y" THEN I\$ ="TYO":K\$ = "PLANE":CLS:GOTO 15701100 IF K1\$ = "A" THEN I\$ = "ATOM":K\$="PLANE":GOTO 15651105 IF K1\$ ="B" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351120 IF K1\$ ="C" THEN I\$ = "ATLANTA":K\$ = "PLANE":GOTO 15651125 IF K1\$ ="I" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15301130 IF K1\$ ="T" THEN I\$ ="CHI":K\$ = "PLANE":CLS:GOTO 15301132 IF K1\$ ="E" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351135 IF K1\$ ="B" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351137 IF K1\$ ="O" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351139 IF K1\$ ="L" THEN I\$ ="D.C.":K\$ = "PLANE":CLS:GOTO 15351140 IF K1\$ ="7" THEN I2\$ = "747" :K\$ = "PLANE":GOTO 11801150 IF K1\$ = "D" THEN I\$ = "ATLANTA":K\$="PLANE":GOTO 15651160 IF K1\$ = "G" THEN I\$ = "NYC":K\$="PLANE":GOTO 15401162 IF K1\$ = "K" THEN I\$ = "D.C.":K\$="PLANE":GOTO 15301164 IF K1\$ = "F" THEN I\$ = "D.C.":K\$="PLANE":GOTO 15301170 IF K1\$ = "J" THEN I\$ = "SEATTLE":K\$="PLANE":GOTO 15501172 IF K1\$ = "U" THEN I\$ = "NYC":K\$="PLANE":GOTO 15401180 REM1410 IF I\$="PLANE" THEN K\$="PLANE":GOTO 15801420 IF I\$="SHIP" THEN K\$="SHIP":GOTO 15801450 CLS:K\$="PLANE"1489 K\$="SHIP"1490 GOTO 15901500 GOTO 15701510 CLS: PRINT STRING\$(80,"*")1520 CLS:X\$ = "NVL" : GOTO 16301530 CLS:X\$ = "D.C.": GOTO 16301535 CLS:X\$ = "D.C.": GOTO 16301540 CLS:X\$ ="ALPHA" : GOTO 16301550 X\$="SEATTLE":GOTO 16301560 CLS:X\$="LON":GOTO 16301565 CLS:X\$="ALPHA":GOTO 16301570 CLS:X\$="TYO":GOTO 16301580 PRINT STRING\$(80,"*")1590 PRINT"ENTER FIRST LOCATION"1600 REM1610 RESTORE1620 INPUT X\$1630 REM1640 FOR I = 1 TO 921650 READ C\$1660 READ R,L1670 IF C\$ <> X\$ THEN 19901675 IF I1\$="PL" THEN 16901680 J = 4E-091690 REM1910 M = .017451920 PRINT C\$1930 C1\$=C\$1940 PRINT R1950 N1= R*M1960 R0=R1961 RR=R1970 PRINT L1980 T1=L*M1981 SS=L
4. 4. 1990 NEXT I2000 RESTORE2010 IF R0>180 AND R0<320 THEN Q1=-12020 IF R0=0 THEN R0=0:R00=0:GOTO 22902030 IF R0=<1.5 THEN R0=0:R00=0:GOTO 22902040 IF R0=>358.5 THEN R0=0:R00=0:QP=2 : GOTO 22902050 IF R0=>7.5 AND R0<22.5 THEN R0=-1:R00=-1:RD=-1:PQ=2: GOTO 22902060 IF R0=>22.5 AND R0<37.5 THEN R0=-2:R00=-2:RD=-2: GOTO 22902070 IF R0=>37.5 AND R0<52.5 THEN R0=-3:R00=-3:RD=-3: GOTO 22902075 IF D3>ZN AND D3<ZM THEN 20772076 VY\$="CST":GOTO 2078 : REM NAME OF TIME ZONE FOR CHICAGO ZONE2077 VY\$="CDT"2078 IF D3>ZN AND D3<ZM THEN 20802079 IF R0=>52.5 AND R0=<67.5 THEN R0=-4:R00=-4:RD=-4:VI\$=" AST":GOTO 22902080 IF R0=>52.5 AND R0=<67.5 THEN R0=-3:R00=-4:RD=-4:VI\$=" ADT":GOTO 22902088 IF D3>ZN AND D3<ZM THEN 20902089 IF R0=>67.5 AND R0<85 THEN R0=-5:R00=-5:RD=-5:VI\$=" EST": GOTO 22902090 IF R0=>67.5 AND R0<85 THEN R0=-4:R00=-5:RD=-5:VI\$=" EDT": GOTO 22902095 IF D3>ZN AND D3<ZM THEN 21012100 IF R0=>85 AND R0<103 THEN R0=-6:R00=-6:RD=-6:VI\$=" CST": GOTO 22902101 IF R0=>85 AND R0<103 THEN R0=-5:R00=-6:RD=-6:VI\$=" CDT": GOTO 22902106 IF D3>ZN AND D3<ZM THEN 21102109 IF R0=>103 AND R0<115 THEN R0=-7:R00=-7:RD=-7 :VI\$=" MST": GOTO 22902110 IF R0=>103 AND R0<115 THEN R0=-6:R00=-7:RD=-7:VI\$=" MDT": GOTO 22902115 IF D3>ZN AND D3<ZM THEN 21202119 IF R0=>115 AND R0<125 THEN R0=-8:R00=-8:RD=-8 :VI\$=" PST": GOTO 22902120 IF R0=>115 AND R0<125 THEN R0=-7:R00=-8:RD=-8:VI\$=" PDT": GOTO 22902125 IF D3>ZN AND D3<ZM THEN 21302129 IF R0=>125 AND R0<142.5 THEN R0=-9 :R00=-9:RD=-9 : GOTO 22902130 IF R0=>125 AND R0<142.5 THEN R0=-8 :R00=-9:RD=-9:VI\$=" DST": GOTO 22902135 IF D3>ZN AND D3<ZM THEN 21402139 IF R0=>142.5 AND R0<158.5 THEN R0=-10:R00=-10:RD=-10 : GOTO 22902140 IF R0=>142.5 AND R0<158.5 THEN R0=-9:R00=-10:RD=-10:VI\$=" DST": GOTO 22902145 IF D3>ZN AND D3<ZM THEN 21502149 IF R0=>158.5 AND R0<172.5 THEN R0=-11 :R00=-11:RD=-11 : GOTO 22902150 IF R0=>158.5 AND R0<172.5 THEN R0=-10 :R00=-11:RD=-11:VI\$=" DST": GOTO 22902160 IF R0=>172.5 AND R0<180 THEN R0=-12:R00=-12:RD=-12: GOTO 22902170 IF R0=>180 AND R0<195! THEN R0=+12:R00=12:RD=+12: GOTO 22902180 IF R0=>195! AND R0<202.5 THEN R0=+11:R00=11:RD=+11: GOTO 22902190 IF R0=>202.5 AND R0<217.5 THEN R0=+10 :R00=10:RD=10: GOTO 22902200 IF R0=>217.5 AND R0<232.5 THEN R0=+9 :R00=9:RD=+9: GOTO 22902210 IF R0=>232.5 AND R0<247.5 THEN R0=+8 :R00=8:RD=+8: GOTO 22902220 IF R0=>247.5 AND R0<262.5 THEN R0=+7 :R00=7:RD=+7: GOTO 22902230 IF R0=>262.5 AND R0<277.5 THEN R0=+6 :R00=6:RD=+6: GOTO 22902240 IF R0=>277.5 AND R0<292.5 THEN R0=+5 :R00=5:RD=+5: GOTO 22902250 IF R0=>292.5 AND R0<307.5 THEN R0=+4 :R00=4:RD=+4: GOTO 22902260 IF R0=>307.5 AND R0<322.5 THEN R0=+3 :R00=3:RD=+3: GOTO 22902270 IF R0=>322.5 AND R0<337.5 THEN R0=+2 :R00=2:RD=+2: GOTO 22902280 IF R0=>337.5 AND R0<359 THEN R0 = +1:R00=1: RD=+1: GOTO 22902290 REM2300 IF K1\$ ="T" THEN 23602305 IF K1\$ ="A" THEN 23652307 IF K1\$ ="C" THEN 23672309 IF K1\$ ="D" THEN 23752310 IF K1\$="G" THEN 23702312 IF K1\$="O" THEN 23622313 IF K1\$="J" THEN 2380
5. 5. 2315 IF K1\$="B" THEN 23772317 IF K1\$="I" THEN 23842319 IF K1\$="L" THEN 23802320 IF K1\$="K" THEN 23722322 IF K1\$="E" THEN 23862324 IF K1\$="F" THEN 23882326 IF K1\$="U" THEN 23652328 IF K1\$="M" THEN 23682329 IF K1\$="N" THEN 23692330 PRINT"INPUT SECOND LOCATION"2340 PRINT"------------------------------------------------":INPUT X\$2350 GOTO 24002360 X\$ = "TYO":GOTO 23902362 X\$ = "MOW":GOTO 23902365 X\$ = "LONDON":GOTO 23902367 X\$ = "CHI":GOTO 23902368 X\$ = "ZEBRA":GOTO 23902369 X\$ = "YANKEE":GOTO 23902370 X\$="PARIS":GOTO 23902372 X\$="KABUL":GOTO 23902375 X\$ = "DALLAS":GOTO 23902377 X\$ = "BEIJING":GOTO 23902380 X\$="TYO":GOTO 23902382 X\$ = "BAGHDAD":GOTO 23902384 X\$ = "ISLAMABAD":GOTO 23902386 X\$ = "KARACHI":GOTO 23902388 X\$ = "TYO":GOTO 23902390 PRINT"------------------------------------------------"2400 FOR I= 1 TO 922410 READ C\$2420 READ R,L2430 IF C\$ <> X\$ THEN 25202440 PRINT C\$2450 C2\$=C\$2460 PRINT R2470 N2=R*M2480 R2=R2481 MM=R2490 PRINT L2495 UU=L2500 PRINT"------------------------------------------------"2510 T2=L*M2520 NEXT I2530 X1= J*COS(T1)*COS(N1)2540 Y1=J*COS(T1)*SIN(N1)2550 Z1=J*SIN(T1)2560 X2=J*COS(T2)*COS(N2)2570 Y2=J*COS(T2)*SIN(N2)2580 Z2=J*SIN(T2)2590 X=ABS(X1-X2)2600 Y=ABS(Y1-Y2)2610 Z=ABS(Z1-Z2)2620 D=SQR(X^2+Y^2+Z^2)2630 Q=(D/(2*J))2640 S=2*J*ATN(Q/SQR(-Q*Q+1))2650 W=FIX(S):F=ABS(S)-ABS(W)2660 IF F>.5 THEN S=S+1
6. 6. 2670 IF K\$="PLANE" THEN 27302680 IF K\$="SHIP" THEN 27302690 IF I\$ = "SMALL" THEN 80602700 PRINT"THE DISTANCE BETWEEN ";C1\$;" AND ";C2\$ " IS "2710 IF I\$ = "SMALL" THEN 80602720 PRINT:PRINT INT(S);" STATUTE (LAND)MILES ": PRINT I\$ : GOTO 27502730 PRINT "THE DISTANCE BETWEEN ";C1\$;" AND ";C2\$;" IS "2740 PRINT:PRINT INT(S*.867)" NAUTICAL MILES " INT(S)" STATUTE MILES":GOTO 27502750 REM2980 DATA NYC,73.98,40.752981 DATA DALLAS,96.48,32.462982 DATA NORTH1,0,152983 DATA YANKEE,330,02984 DATA NVL,87,362985 DATA ZULU,1,02986 DATA XRAY,315,02987 DATA WHISKEY,315,02988 DATA VICTOR,300,02989 DATA UNIFORM,275,02990 DATA TANGO,195,02991 DATA OSCAR,280,02992 DATA ROMEO,165,02993 DATA SOUTH1,0,-152994 DATA ALPHA,0,02995 DATA BRAVO,15,02996 DATA BRAVO2,26,-62997 DATA NORTH4,15,302998 DATA SOUTH3,12,-232999 DATA MOBILE,88.10,30.603000 DATA D.C.,77,393001 DATA HONG KONG,245,22.53002 DATA SEYCHELLES,305,-53003 DATA ATHENS,336,383004 DATA PARIS,358,493005 DATA TRIPOLI,347,333006 DATA LONDON,0,513007 DATA DELTA,45,03008 DATA ECHO,60,03009 DATA FOXTROT,75,03010 DATA GOLF,90,03011 DATA HOTEL,126.589,03012 DATA CAPE TOWN,341,-343013 DATA ACAPULCO,100,16.33014 DATA NEW ORLEANS,90,303015 DATA CHARLIE,30,03016 DATA MIAMI,80,263017 DATA TAMPA,82,283018 DATA PANAMA CITY,79,93019 DATA SFO,123,383020 DATA SAN DIEGO,117,333021 DATA AZORES,30,373022 DATA SANTIAGO,71,-343023 DATA NORFOLK,76,373024 DATA TRIESTE,346.5,543025 DATA HNL,156.9,213026 DATA CHARLESTON,80,333027 DATA CAYENNE,63,7
7. 7. 3028 DATA TRISTAN DE CUNHA,13,-363029 DATA ST.HELENA,6,-173030 DATA MOW,321.9,563031 DATA SYDNEY,209,-343032 DATA TEHRAN,309,363033 DATA MARQUESAS,139,83034 DATA NEW GUINEA,215,23035 DATA BEIJING,244,403036 DATA SINGAPORE,256,13037 DATA NOME,166,653038 DATA VANCOUVER,128,493039 DATA CANCUN,86.3,21.43040 DATA MIKE,179,03041 DATA RIO ,42,-233042 DATA LUANDA,347,-93043 DATA DAKAR,17,153044 DATA CHI,88,423045 DATA PENSACOLA,87,313046 DATA ALEXANDRIA,330,313047 DATA SOLOMON ISLANDS,207,-53048 DATA BAGHDAD,314.2,33.73049 DATA TAHITI,149,-173050 DATA FREEPORT,78,243051 DATA TEL AVIV,325,32.33052 DATA SEOUL,233,373053 DATA VIRGIN ISLANDS,65,183054 DATA NORTH POLE,0,903055 DATA SOUTH POLE,0,-903056 DATA SAVANNAH,81,323057 DATA WAKE ISLAND,186.9,193058 DATA OAK RIDGE,84.25,363059 DATA ISTANBUL,341,413060 DATA CROSSVILLE,85.05,35.93061 DATA CHATTANOOGA,85.14,35.023062 DATA KNOXVILLE,84,35.83063 DATA SAN JUAN,66,193064 DATA DENVER,105,403065 DATA SEATTLE,122,483066 DATA BOMBAY,287,193067 DATA CAIRO,328,303068 DATA ROME,347,42.53069 DATA ATLANTA,84,343070 DATA ZEBRA,355,03071 DATA ZEBRA2,356,03072 DATA ZEBRA2,346,04290 PRINT4300 PRINT DATE\$,TIME\$;B1\$:PRINT " CST TIME ZONE -6 "4310 HOUR = VAL(TIME\$)4320 MIN = VAL(MID\$(TIME\$,4))4330 IF I\$="NVL" THEN GOTO 44504340 PRINT"FOR PRESENT TIME INPUT T FOR OTHER TIME PRESS ENTER";T\$4350 P1\$ = INKEY\$4360 IF P1\$= "" THEN 43504370 IF P1\$= "T" THEN 4450 ELSE 43904380 IF T\$ ="T" THEN 37054390 COLOR 9,0,0:PRINT"LEAVING TIME HOURS FIRST THEN MINUTES THEN SECONDS":COLOR 0,3
8. 8. 4400 PRINT STRING\$(80,"-")4410 INPUT H04420 INPUT M04425 S0 = VAL(RIGHT\$(TIME\$,2))4430 GOTO 44704450 H0= HOUR4460 M0 = MIN4465 S0 = VAL(RIGHT\$(TIME\$,2))4467 B0\$ = B1\$ :GOTO 45004470 PRINT"====================================================="4480 PRINT"TYPE AM OR PM"4490 INPUT B0\$4500 REM4520 IF H = 12 AND B0\$ ="AM" THEN B\$ = "PM" : GOTO 45404530 IF H = 12 AND B0\$ ="PM" THEN B\$ = "AM"4540 PRINT"====================================================="4550 IF I2\$ ="CONCORDE" THEN I = 1151:GOTO 47304560 IF I2\$ ="747" THEN I = 530 : GOTO 47304570 IF I2\$="TORNADO" THEN I = 1452 : GOTO 47304580 IF I2\$="LEAR JET" THEN I = 512 : GOTO 47704590 IF I2\$="USSR SST" THEN I = 1550 : GOTO 47304600 IF I2\$="F-15 EAGLE" THEN I = 1875 : GOTO 47304610 IF I2\$="MIG-29" THEN I = 1650 : GOTO 47304620 IF I2\$="F-14 TOMCAT" THEN I = 1750 : GOTO 47304630 IF I2\$="MIG-23" THEN I = 1500 : GOTO 47304640 IF I\$="SUNTIME" THEN I=1037 : GOTO 49304650 IF I2\$="MIRAGE F1-E" THEN I = 1650 : GOTO 47304660 IF I2\$="LEAR JET" THEN GOTO 48304670 IF K\$="PLANE" THEN 4690 ELSE 46804680 PRINT"INPUT KNOTS":GOTO 47004690 PRINT"INPUT SPEED M.P.H." :GOTO 47104700 K\$="SHIP"4710 INPUT I4715 II = I4717 GOTO 48804730 PRINT"-----------------------------------------------------------"4740 IF K1\$ = "G" THEN 48804750 IF K1\$="T" THEN 48804760 REM4880 REM4898 PRINT DATE\$; " C.S.T. COMPUTER DATE = " ;D34900 INPUT"IF COMPUTER DATE IS TODAYS DATE INPUT J ELSE PRESS ENTER";T3\$4902 IF T3\$ = "J" THEN 49104904 PRINT"INPUT COMPUTER DATE"4908 INPUT T3:GOTO 49204910 T3 = D34920 REM4930 GOSUB 70804940 T = T0+(S/I)4950 GOTO 60504960 PRINT4970 H=H-124980 REM4990 IF H>12 THEN 49705000 E = S/I5010 L = INT(E) :K1=60*(E-L):K=INT(K1):K3= K1 -K5012 KL=K
9. 9. 5015 IF H=0 THEN H=125016 IF BB =2 THEN 5017 ELSE 50205017 IF B0\$="AM" THEN B0\$="PM"5018 IF H<> 12 AND B\$="PM" THEN B\$="AM" :GOTO 50205019 IF H<> 12 AND B\$="AM" THEN B\$="PM" :GOTO 50205020 IF H <> 12 THEN 54305430 IF K >59 THEN 5431 ELSE 54335431 L = L + 1 : K = K - 605433 REM5434 GOTO 54365435 M8 = M8 - 60 : M4 = M4+1:GOTO 54405436 IF M8>59 THEN 5435 ELSE 54405439 M5 = M5 - 60 : M =M + 1 : GOTO 54425440 M5 = M4 + S05441 IF M5 > 59 THEN 54395442 IF M>59 THEN M = M - 60: H = H+ 15443 LI = L5444 IF H = 12 THEN GOTO 21000 ELSE 54545447 LI = LI - 12:B\$="PM":GOTO 54505448 LI = LI - 12:B\$="AM":GOTO 54505450 REM5451 IF LI > 20 THEN 5452 ELSE 54545452 IF B\$ ="AM" THEN GOTO 54475453 IF B\$ ="PM" THEN GOTO 54485454 REM5455 HH=H:MA=M:IU=K5456 COLOR 0,3:CLS:SCREEN 2:LOCATE 2,3:PRINT "ARRIVE":VIEW SCREEN(1,20)-(600,32),,2:LOCATE 4,2:PRINT ;C2\$,H;":";M;":"M5"."M8;B\$,;R1\$:LOCATE 6,5:PRINT"FROM":VIEW SCREEN(1,55)-(600,67),,2:LOCATE8,2:PRINT;C1\$,;H0":";M0;":"S0;B0\$,"TIME ZONE ";RD;VI\$5457 LOCATE 11,5:PRINT"TRAVEL TIME":VIEW SCREEN(15,93)-(200,103),,2 :LOCATE13,4:PRINT L;"HOURS ";K" MINUTES":LOCATE 11,43 :PRINT"SPEED":VIEWSCREEN(300,93)-(400,103),,2 :LOCATE 13,39:PRINT ;I"MPH" :O=S*W5458 L9 = L :II = I5459 K9 = K5460 M1=S/W:M2=WW*W2:LOCATE 11,65:PRINT"TOTAL MILES":VIEW SCREEN(520,93)-(600,103),,2:LOCATE 13,66:PRINT S :VIEW SCREEN(450,4)-(600,15),,2:LOCATE2,63:PRINT I2\$ :VIEW SCREEN(200,40)-(600,47),,2 :LOCATE 6,45:PRINT DATE\$,TIME\$"C.S.T"5461 LOCATE 6,30:PRINT J\$(Z11):VIEW SCREEN(500,125)-(575,135),,2:LOCATE17,65:PRINT M45462 VIEW SCREEN(250,158)-(350,168),,2 :LOCATE 23,605470 LOCATE 15,6:PRINT"FUEL EXPENSE":LOCATE 15,30:PRINT"MILEAGE REVENUE" :VIEWSCREEN(15,126)-(100,136),,2:LOCATE 17,3:PRINT(INT(M2*100+.5))/100 :VIEWSCREEN(250,126)-(400,136),,2:LOCATE 17,33:PRINT(INT(O*100+.5))/100:LOCATE15,63:PRINT"SECONDS"5480 FL = (INT(M2*100+.5))/100 : RV =(INT(O*100+.5))/1005490 J1=L:J2=(K/60):J3=J1+J2:J4=J3*1370:LOCATE 19,6:PRINT"FUEL FLOWLBS":LOCATE 19,30:PRINT"RESERVE" :VIEW SCREEN(15,156)-(100,167),,2:LOCATE21,3:PRINT J3*1370 :VIEW SCREEN(250,156)-(400,167),,2:LOCATE 21,33:PRINT 6638 -(J3 * 1370)5500 LOCATE 19,60:PRINT"COST":VIEW SCREEN(450,156)-(550,167),,2:LOCATE21,58:PRINT "\$"J3*1370*W25620 IF K1\$="J" THEN J2 = E * 13705630 E= S/I5640 L = INT(E)5650 K1=60*(E-L)
10. 10. 5660 K=INT(K1)5670 K3 = K1 - K5690 J1 = L : J2 = (K/60) : J3 = J1 + J25700 J4 = J3 * 13705710 O=S*W5730 W0=FIX(D):F0=ABS(D)-ABS(W0)5740 IF K1\$="G" THEN 58505750 IF K1\$="T" THEN 58505760 REM5770 REM5790 IF K1\$ ="J" THEN 58105800 M1 = S/W1:M2 = M1*W25810 REM5850 REM5870 GOSUB 71305880 REM5930 REM5940 DAY = VAL(MID\$(DATE\$,4))5950 MONTH\$=(LEFT\$(DATE\$,2)):MO = VAL(MONTH\$)6040 GOTO 75306050 GOSUB 60606060 H=INT(T)6070 M1=60*(T-H)6080 M=INT(M1)6085 M3 = 60 *(M1-M)6086 M4 = INT(M3)6087 M7 = 60 *(M3-M4)6088 M8 = INT(M7)6090 IF N2>N1 THEN U=N2-N16100 IF N2<N1 THEN V=N1-N26110 IF V>0 GOTO 66306120 IF R2>180 AND R2<320 THEN Q1=16130 IF R2=<7.5 AND R2>359 THEN 63806140 IF R2>7.5 AND R2<22.5 THEN 63906150 IF R2=>22.5 AND R2<37.5 THEN 64006160 IF R2=>37.5 AND R2<52.5 THEN 64106170 IF R2=>52.5 AND R2<67.5 THEN 64206180 IF R2=>67.5 AND R2=<85 THEN 64306190 IF R2=>85 AND R2<103 THEN 64406200 IF R2=>103 AND R2<115 THEN 64506210 IF R2=>115 AND R2<125 THEN 64606220 IF R2=>125 AND R2<142.5 THEN 64706230 IF R2=>142.5 AND R2<158.5 THEN 64806240 IF R2=>158.5 AND R2<172.5 THEN 64906250 IF R2=>172.5 AND R2<180 THEN 65006260 IF R2=>180 AND R2<187.5 THEN 65106270 IF R2=>187.5 AND R2<202.5 THEN 65206280 IF R2=>202.5 AND R2<217.5 THEN 65306290 IF R2=>217.5 AND R2<232.5 THEN 65406300 IF R2=>232.5 AND R2<247.5 THEN 65506310 IF R2=>247.5 AND R2<262.5 THEN 65606320 IF R2=>262.5 AND R2<277.5 THEN 65706330 IF R2=>277.5 AND R2<292.5 THEN 65806340 IF R2=>292.5 AND R2<307.5 THEN 65906350 IF R2=>307.5 AND R2<322.5 THEN 66006360 IF R2=>322.5 AND R2< 337.5 THEN 66106370 IF R2=>337.5 AND R2<359 THEN 6620
11. 11. 6380 R1\$=" TIME ZONE 0 ":QP=1:R2 = 0:R22=0:GOTO 69006390 R1\$=" TIME ZONE -1 ":PQ=1:R2=-1:R22=-1: GOTO 69006400 R1\$=" TIME ZONE -2 ":R2=-2:R22=-2:GOTO 69006410 R1\$=" TIME ZONE -3 ":ZONE\$="GREENLAN.BAS":R2=-3:R22=-3:GOTO 69006420 IF D3>ZN AND D3<ZM THEN 64226421 R1\$=" TIME ZONE -4 AST":R2=-4:R22=-4:GOTO 69006422 R1\$=" TIME ZONE -4 ADT":R2=-3:R22=-4:GOTO 69006430 IF D3>ZN AND D3<ZM THEN 64326431 R1\$=" TIME ZONE -5 EST":R2=-5:R22=-5:GOTO 69006432 R1\$=" TIME ZONE -5 EDT":R2=-4:R22=-5:GOTO 69006440 IF D3>ZN AND D3<ZM THEN 64426441 R1\$=" TIME ZONE -6 CST":ZONE\$="NVL.BAS":R2=-6:R22=-6:GOTO 69006442 R1\$=" TIME ZONE -6 CDT":ZONE\$="NVL.BAS":R2=-5:R22=-6:GOTO 69006450 IF D3>ZN AND D3<ZM THEN 64526451 R1\$=" TIME ZONE -7 MST":R2=-7:R22=-7:GOTO 69006452 R1\$=" TIME ZONE -7 MDT":R2=-6:R22=-7:GOTO 69006460 IF D3>ZN AND D3<ZM THEN 64626461 R1\$=" TIME ZONE -8 PST":R2=-8:R22=-8:GOTO 69006462 R1\$=" TIME ZONE -8 PDT":R2=-7:R22=-8:GOTO 69006470 IF D3>ZN AND D3<ZM THEN 64726471 R1\$=" TIME ZONE -9 ":R2=-9:R22=-9:GOTO 69006472 R1\$=" TIME ZONE -9 DST":R2=-8:R22=-9:GOTO 69006480 IF D3>ZN AND D3<ZM THEN 64826481 R1\$=" TIME ZONE -10 ":R2=-10:R22=-10:GOTO 69006482 R1\$=" TIME ZONE -10 DST":R2=-9:R22=-10:GOTO 69006490 IF D3>ZN AND D3<ZM THEN 64926491 R1\$=" TIME ZONE -11 ":R2=-11:R22=-11:GOTO 69006492 R1\$=" TIME ZONE -11 DST":R2=-10:R22=-11:GOTO 69006500 R1\$=" TIME ZONE -12 ":R2=-12:R22=-12:GOTO 69006510 R1\$=" TIME ZONE +12 ":R2=+12:R22=+12:GOTO 69006520 R1\$=" TIME ZONE +11 ":R2=+11:R22=+11:GOTO 69006530 R1\$=" TIME ZONE +10 ":R2=+10:R22=+10:GOTO 69006540 R1\$=" TIME ZONE +9 ":R2=+9:R22=9:GOTO 69006550 R1\$=" TIME ZONE +8 ":R2=+8:R22=8:GOTO 69006560 R1\$=" TIME ZONE +7 ":R2=+7:R22=7:GOTO 69006570 R1\$=" TIME ZONE +6 ":R2=+6:R22=6:GOTO 69006580 R1\$=" TIME ZONE +5 ":R2=+5:R22=5:GOTO 69006590 R1\$=" TIME ZONE +4 ":R2=+4:R22=4:GOTO 69006600 R1\$=" TIME ZONE +3 ":R2=+3:R22=3:GOTO 69006610 R1\$=" TIME ZONE +2 ":R2=+2:R22=2:GOTO 69006620 R1\$=" TIME ZONE +1 ":R2=+1:R22=1:GOTO 69006630 IF R2>180 AND R2<320 THEN Q1=-16640 IF R2=0 THEN 63806650 IF R2=<7.5 AND R2>359 THEN 63806660 IF R2=>7.5 AND R2<22.5 THEN 63906670 IF R2=>22.5 AND R2<37.5 THEN 64006680 IF R2=>37.5 AND R2<52.5 THEN 64106690 IF R2=>52.5 AND R2=<67.5 THEN 64206700 IF R2=>67.5 AND R2<85 THEN 64306710 IF R2=>85 AND R2<103 THEN 64406720 IF R2=>103 AND R2<115 THEN 64506730 IF R2=>115 AND R2=<127.5 THEN 64606740 IF R2=>127.5 AND R2<142.5 THEN 64706750 IF R2=>142.5 AND R2<158.5 THEN 64806760 IF R2=>158.5 AND R2<172.5 THEN 64906770 IF R2=>172.5 AND R2<180 THEN 65006780 IF R2=>180 AND R2<195! THEN 6510
12. 12. 6790 IF R2=>187.5 AND R2<202.5 THEN 65206800 IF R2=>202.5 AND R2<217.5 THEN 65306810 IF R2=>217.5 AND R2<232.5 THEN 65406820 IF R2=>232.5 AND R2<247.5 THEN 65506830 IF R2=>247.5 AND R2<262.5 THEN 65606840 IF R2=>262.5 AND R2<277.5 THEN 65706844 9.28E-13 CIRCUMFERENCE6850 IF R2=>277.5 AND R2<292.5 THEN 65806860 IF R2=>292.5 AND R2<307.5 THEN 65906870 IF R2=>307.5 AND R2<322.5 THEN 66006880 IF R2=>322.5 AND R2<337.5 THEN 66106890 IF R2=>337.5 AND R2<359 THEN 66206900 REM6910 IF V => 0 THEN 6920 ELSE 69306920 H = H + (R2-R0) : GOTO 69356930 H = H - (R2-R0) : GOTO 69356935 H = ABS(H)6940 IF H=12 AND R2 => -12 THEN B\$="PM" :GOTO 7070 ELSE 69506950 IF H=12 AND B0\$="AM" THEN B\$="PM" ELSE B\$="AM"6960 IF H= 24 THEN H=H-12:GOTO 70306970 IF H0=12 THEN 7020:IF H=24 THEN H=H-126980 IF H> 12 THEN 6990 ELSE 70706990 IF B\$="PM" THEN 7000 ELSE 70107000 B\$ = "AM" : H=H-12: GOTO 69807010 B\$="PM":H=H-12:GOTO 69807020 H=H-12:IF H>12 THEN 6980 ELSE 70707030 IF B0\$ ="PM" THEN 7040 ELSE 70507040 IF B0\$="PM" THEN B\$="AM" : GOTO 70707050 IF H=0 THEN 7060 :IF B0\$="AM" THEN B\$="PM" : GOTO 70707060 IF B0\$="AM" THEN B\$="AM" ELSE B\$="PM"7070 GOTO 49807080 T0=H0+M0/607084 IF R0>7 AND H0=12 AND B0\$="PM" THEN 7095 ELSE 70857085 IF R0>7 AND H0=<2 AND B0\$="PM" THEN 7095 ELSE 70907090 IF B0\$="PM" THEN LET T0=T0+12: RETURN7091 IF B0\$="AM" THEN LET T0=T0+127092 IF B0\$="AM" THEN LET T0=T0+12: RETURN7095 B0\$="AM" :BB=2:GOTO 70907130 REM7140 DIM N1(13)7150 FOR KL=1 TO 13:READ N1(KL):NEXT KL7160 DATA 0,31,59,90,120,151,1817170 DATA 212,243,273,304,334,3657180 DIM N\$(12)7190 FOR KL= 1 TO 12:READ N\$(KL):NEXT KL7200 DATA JAN,FEB,MAR,APR,MAY,JUN7210 DATA JUL,AUG,SEP,OCT,NOV,DEC7220 FOR N = 1 TO 127230 IF T3>365 THEN T3=T3-3657240 IF T3<(N1(N+1)+1) THEN GOTO 72607250 NEXT N7260 D0=T3-N1(N)7270 RETURN7280 REM7290 T4= D4 + T37300 DIM M1(13)7310 FOR I = 1 TO 13 : READ M1(I) : NEXT I
13. 13. 7320 DATA 0,31,59,90,120,151,1817330 DATA 212,243,273,304,334,3657340 DIM M\$(12)7350 FOR I = 1 TO 12 : READ M\$(I): NEXT I7360 DATA JAN,FEB,MAR,APR,MAY,JUN7370 DATA JUL,AUG,SEP,OCT,NOV,DEC7380 A3=YEAR7390 FOR M = 1 TO 127400 IF T4>365 THEN A3 = A3 + 17410 IF T4 > 365 THEN T4 = T4 - 3657420 IF T4<(M1(M+1)+1) THEN GOTO 74407425 IF T4 > 365 THEN GOTO 74007430 NEXT M7440 D4=T4-M1(M)7450 RETURN7460 REM7500 REM7502 IF A3 = 0 THEN 75047503 Y = A3:GOTO 75107504 Y = YEAR7510 D4 = INT(D4)7511 D=D47512 LET J\$(1) = "SUNDAY"7513 LET J\$(2) = "MONDAY"7514 LET J\$(3) = "TUESDAY"7515 LET J\$(4) = "WEDNESDAY"7516 LET J\$(5) = "THURSDAY"7517 LET J\$(6) = "FRIDAY"7518 LET J\$(7) = "SATURDAY"7519 LET K = INT(.6 +(1/M))7520 LET L5 = Y - K7521 LET O = M + 12*K7522 LET P = L5/1007523 LET Z1 = INT(P/4)7524 LET Z2 = INT(P)7525 LET Z3 = INT((5*L5)/4)7526 LET Z4 = INT(13*(O+1)/5)7527 LET Z= Z4+Z3-Z2+Z1+D4-17528 LET Z = Z-(7*INT(Z/7))+17529 RETURN7530 REM11100 REM12000 SCREEN 8:CLS:KEY OFF:COLOR 3,412015 LOCATE 18,2:PRINT HH":";MA;":"M5;M812018 LINE(310,15)-(310,425),3 Y-AXIS12020 LINE(5,105)-(650,105),1 EQUATOR12022 LINE(275,120)-(340,120),212023 LINE(275,90)-(340,90),212050 LOCATE 8,42 :PRINT "Y-AXIS"12055 LOCATE 14,55 :PRINT "X-AXIS"12115 LOCATE 17,45:PRINT S/1E-11 "picometers"12120 LOCATE 18,45:PRINT S/I "TIME m/s"12124 LOCATE 19,45:PRINT J "radius"12125 LOCATE 20,45:PRINT J * (3.14159265#*2) "circumference"12170 LINE(100,92)-(100,70),112175 LINE(100,70)-(140,60),112185 LINE(140,60)-(180,70),1
14. 14. 12190 LINE(180,92)-(180,70),112195 LINE(180,92)-(140,100),112197 LINE(100,90)-(140,100),112199 LINE(180,70)-(210,65),112200 LINE(210,65)-(240,70),112202 LINE(240,70)-(235,85),112204 LINE(200,100)-(180,90),112206 LINE(200,100)-(235,85),112210 LINE(200,100)-(220,110),112212 LINE(220,110)-(260,115),112214 LINE(260,115)-(275,123),112216 LINE(260,115)-(280,100),112218 LINE(280,100)-(320,100),212219 LINE(280,103)-(320,103),212220 LINE(280,100)-(275,76),212222 LOCATE 5,27:PRINT "H"12224 LINE(210,60)-(215,40),212226 LOCATE 9,26:PRINT "N"12228 LOCATE 17,35:PRINT "N"12230 LOCATE 13,42:PRINT "O"12232 LOCATE 10,36:PRINT "O"12234 LOCATE 3,12:PRINT "RACEMIC TRIPTOPHAN"12511 PSET(545,155),212512 REM12515 LOCATE 1,9:PRINT"DEP "N\$(N);(INT(D0)) YEAR12516 IF R22 = R00 THEN GOTO 60000 REM SAME TIME ZONE12520 IF I1\$="PL" THEN 6000012521 IF R00>=-6 AND R00 <0 AND R22>5 THEN 50290 REM NVLCAL12522 IF R00>=-6 AND R00 <0 AND R22=>0 AND R22<6 THEN 40500 REM NVLLON12523 IF R00>=6 AND R00 <10 AND R22<-5 THEN 54000 REM TYONVL12524 IF R00>9 AND R22=<-6 THEN 40300 REM WAKMID12527 IF R00=>0 AND R00<6 AND R22=>-6 AND R22<0 THEN OPEN "LONNVL.TXT\$" FORINPUT AS #1:CLOSE #112530 IF R00<-6 AND R22 =>6 THEN OPEN "MIDCAL.TXT\$" FOR INPUT AS #1:CLOSE #112540 IF R00<-9 AND R22=>0 AND R22<6 THEN OPEN "MIDLON.TXT\$" FOR INPUT AS#1:CLOSE #112541 IF R00>-10 AND R00<-6 AND R22=>0 AND R22<6 THEN OPEN "DENLON.TXT\$" FORINPUT AS #1:CLOSE #112545 IF R00>0 AND R00<6 AND R22=>0 AND R22 <6 THEN OPEN "BOMLON.TXT\$" FORINPUT AS #1 :CLOSE #112547 IF R00<-6 AND R22<0 AND R22>-7 THEN OPEN "MIDDAK.TXT\$" FOR INPUT AS#1:CLOSE #112548 IF R00=<0 AND R00>-7 AND R22=<-7 THEN OPEN "LONMID.TXT\$" FOR INPUT AS#1:CLOSE #112549 IF R00=<-7 AND R22=<-7 AND R00<R22 THEN OPEN "MIDDEN.TXT\$" FOR INPUT AS#1:CLOSE #112550 IF R00=<-7 AND R22=<-7 AND R00>R22 THEN OPEN "DENMID.TXT"FOR INPUT AS#1:CLOSE #112551 IF R00=>0 AND R00<6 AND R22 <6 AND R22>0 THEN OPEN "LONBOM.TXT\$" FORINPUT AS #1 : CLOSE #112552 IF R00=>0 AND R00<6 AND R22 >5 THEN OPEN "LONCAL.TXT\$" FOR INPUT AS#1:CLOSE #112553 IF R00=>0 AND R00<6 AND R22=<-7 THEN OPEN "PARMID.TXT\$" FOR INPUT AS#1:CLOSE #112558 IF R00>5 AND R22>5 THEN OPEN "WAKCAL.TXT\$" FOR INPUT AS #1:CLOSE #112560 IF R00>5 AND R22=>0 AND R22 <6 THEN OPEN "WAKLON.TXT\$" FOR INPUT AS#1:CLOSE #1
15. 15. 12561 IF R00>5 AND R22<0 AND R22>-6 THEN OPEN "WAKDAK.TXT\$" FOR INPUT AS#1:CLOSE #112569 IF R00<0 AND R00>=-6 AND R22<0 AND R22=>-6 AND R22>R00 THEN OPEN"NVLDAK.TXT\$" FOR INPUT AS #1:CLOSE #112570 IF R00<0 AND R00>=-6 AND R22<0 AND R22=>-6 AND R00>R22 THEN OPEN"DAKNVL.TXT\$" FOR INPUT AS #1 : CLOSE #112599 GOTO 6000012600 REM12604 D4 = D012605 COLOR 2,0: LOCATE 1,40:PRINT"AR "N\$(N);(INT(D4)) YEAR:GOSUB 6025012610 GOSUB 728012611 GOTO 1305012615 REM12620 D4 = D4 + 1 : GOTO 1265012622 D4 = D4 + 2 : GOTO 1265012624 D4 = D4 + 3 : GOTO 1265012626 D4 = D4 - 1 : GOTO 1265012640 IF L < 48 THEN GOTO 1265112642 D4 = L9/2412645 REM12646 IF D4 > 1460 THEN 12648 ELSE 1265012648 DD = D4/1460 : REM LEAP YEAR ADJUSTMENT12649 D4 = D4 + INT(DD)12650 DAYS = L9 / 2412651 DAYS = D412652 GOSUB 728012654 REM12655 LOCATE 1,40:PRINT "AR "M\$(M);(INT(D4));A3:COLOR 1,412657 GOSUB 750013002 GOTO 1300613004 GOSUB 728013005 D4 = D0:GOSUB 750013006 GOSUB 6025013009 LOCATE 22,5 : PRINT INT(DAYS);" DAYS"13010 LOCATE 4,1: PRINT YEARS;" YEARS"13012 LOCATE 2,10:PRINT DATE\$:LOCATE 3,60:PRINT II;"MPH "13013 COLOR 2,0:LOCATE 1,60: PRINT J\$(Z):GOTO 1305213050 LOCATE 1,60:PRINT J\$(Z10)13051 LOCATE 22,5 : PRINT INT(DAYS);" DAYS"13052 IF K\$="SHIP" THEN 13056 ELSE 1305513055 LOCATE 2,1:PRINT DATE\$;" "TIME\$:LOCATE 3,60:PRINT II" MPH":GOTO 1306513056 REM13057 IF K\$="PLANE" THEN GOTO 1306513060 LOCATE 4,45:PRINT INT(S)"MILES" :LOCATE 2,10:PRINT DATE\$:LOCATE 3,60:PRINTII;"KNOTS"13065 LOCATE 4,45:PRINT INT(S)"MILES":IF L=0 AND H = H0 THEN 1306813066 LOCATE 1,30:PRINT J\$(Z10)13067 LOCATE 2,26:PRINT J\$(Z11)13068 IF I1\$="PL" THEN GOTO 1307713069 GOTO 1307513070 LOCATE 4,1 :PRINT FL;" FUEL EXPENSE";RV;" REVENUE"13075 REM13077 LOCATE 3,35:PRINT "ZONE ";RD;VI\$;13078 LOCATE 4,1: PRINT YEARS;" YEARS",I\$13080 PALETTE 3,913190 IF SS < 0 THEN LL\$="LL"13199 SS = ABS(SS)
16. 16. 13200 IF RR>180 THEN 1321013201 IF RR=0 THEN 13210 ELSE GOTO 1320513202 IF LL\$ = "LL" THEN 1320413203 PSET(300-RR*1.65,105-SS),3:CIRCLE(300-RR*1.65,105-SS),5,1:WW=1:LOCATE SS-(SS-3),RR-(RR-5):PRINT C1\$;H0":";M0;":"S0;B0\$: GOTO 1400013204 PSET(300-RR*1.65,105+SS),2:CIRCLE(300-RR*1.65,105+SS),5,1:WW=1:LOCATE SS-(SS-3),RR-(RR-15):COLOR 5,0:PRINT C1\$;H0":";M0":";S0;B0\$:LOCATE 3,40:COLOR7,0:GOTO 1400013205 IF LL\$ = "LL" THEN 1320813206 IF RR>60 THEN 1320213207 PSET(300-RR*1.4,105-SS),2:CIRCLE(300-RR*1.4,105-SS),5,1:WW=1:LOCATE SS-(SS-8),RR-(RR-30):COLOR 5,0:PRINT C1\$;H0":";M0":";":"S0;B0\$:COLOR 7,0: GOTO1400013208 PSET(300-RR*1.6,105+SS),2:CIRCLE(300-RR*1.6,105+SS),5,1:WW=1:LOCATE SS-(SS-3),RR-(RR-10):COLOR 3,1:PRINT C1\$;H0":";M0;":"S0;B0\$:COLOR 2,7:GOTO 1400013210 IF LL\$ = "LL" THEN 13211 ELSE 1321213211 IF RR =0 THEN 13270 ELSE 1325813212 IF RR =0 THEN 1324613214 IF RR=>345 THEN 1324713215 IF RR=>315 THEN 1324213216 IF RR=>300 THEN 13248 :REM ZONE +3(MOW)13218 IF RR=>285 THEN 1324913220 IF RR=>270 THEN 1325013222 IF RR=>255 THEN 1325113224 IF RR=>240 THEN 1325213226 IF RR=>220 THEN 1325313228 IF RR=>205 THEN 1325413230 IF RR=>195 THEN 1325513232 GOTO 1325613240 STOPPSET(310-RR*1.6,105-SS),3:CIRCLE(310-RR*1.6,105-SS),5,0:LOCATE SS-(SS-4),RR-(RR-40):COLOR 7,0:PRINT C1\$;H0":";M0;":"S0;B0\$:GOTO 1400013241 PSET(310-RR*1.6,105-SS),3:CIRCLE(310-RR*1.6,105-SS),5,0:LOCATE SS-(SS-9),RR-(RR-40):COLOR 7,0:PRINT C1\$;H0":";M0;":"S0;B0\$:GOTO 1400013242 PSET(300+(360-RR*.875),105-SS),3:CIRCLE(300+(360-RR*.875),105-SS),5,0:LOCATE SS-(SS-4),RR-(RR-45):COLOR 7,0:PRINT C1\$;H0":";M0;":"S0;B0\$:COLOR7,0:VV=2:GOTO 1400013246 PSET(310-RR*1.6,105-SS),3:CIRCLE(310+RR*1.6,105-SS),5,1:WW=1:LOCATE SS-(SS-9),RR-(RR-30):COLOR 5,0:PRINT C1\$;H0":";M0;":"S0;B0\$:COLOR 7,0:GOTO 1400013247 PSET(300+(360-RR*.95),105-SS),3:CIRCLE(300+(360-RR*.95),105-SS),5,1:LOCATE SS-(SS-4),RR-(RR-40):COLOR 5,0:PRINTC1\$;H0":";M0;S0;":";B0\$:COLOR 7,0:VV=2:GOTO 1400013248 PSET(300+(360-RR*.84),105-SS),3:CIRCLE(300+(360-RR*.84),105-SS),5,1:LOCATE SS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":"S0;B0\$:COLOR7,0:VV=2:GOTO 1400013249 PSET(300+(360-RR*.79),105-SS),3:CIRCLE(300+(360-RR*.79),105-SS),5,1:LOCATE SS-(SS-4 ),RR-(RR-45):COLOR 5,0:PRINTC1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO 1400013250 PSET(300+(360-RR*.74),105-SS),3:CIRCLE(300+(360-RR*.74),105-SS),5,1:LOCATE SS-(SS-4 ),RR-(RR-45):COLOR 5,0:PRINTC1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO 1400013251 PSET(300+(360-RR*.68),105-SS),3:CIRCLE(300+(360-RR*.68),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013252 PSET(300+(360-RR*.57),105-SS),3:CIRCLE(300+(360-RR*.57),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO14000
17. 17. 13253 PSET(300+(360-RR*.57),105-SS),3:CIRCLE(300+(360-RR*.57),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013254 PSET(300+(360-RR*.46),105-SS),3:CIRCLE(300+(360-RR*.46),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-55):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013255 PSET(300+(360-RR*.36),105-SS),3:CIRCLE(300+(360-RR*.36),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013256 PSET(300+(360-RR*.25),105-SS),3:CIRCLE(300+(360-RR*.25),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-60):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013257 PSET(300+(360-RR*.37),105-SS),3:CIRCLE(300+(360-RR*.37),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=2:GOTO1400013258 IF RR=>345 THEN 1327113259 IF RR=>330 THEN 1327213260 IF RR=>315 THEN 1328313261 IF RR=>300 THEN 1327313262 IF RR=>285 THEN 1327413263 IF RR=>270 THEN 1327513264 IF RR=>255 THEN 1327613265 IF RR=>240 THEN 1327713266 IF RR=>220 THEN 1325313267 IF RR=>205 THEN 1327913268 IF RR=>195 THEN 1328013269 GOTO 1328113270 PSET(300-RR*.96,105+SS),3:CIRCLE(300-RR*.96,105+SS),5,1:LOCATE SS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 1,7:VV=1:GOTO 1400013271 PSET(300+(360-RR*.95),105+SS),3:CIRCLE(300+(360-RR*.95),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 2,7:VV=1:GOTO1400013272 PSET(300+(360-RR*.91),105+SS),3:CIRCLE(300+(360-RR*.91),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013273 PSET(300+(360-RR*.84),105+SS),3:CIRCLE(300+(360-RR*.84),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013274 PSET(300+(360-RR*.79),105+SS),3:CIRCLE(300+(360-RR*.79),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013275 PSET(300+(360-RR*.74),105+SS),3:CIRCLE(300+(360-RR*.74),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013276 PSET(300+(360-RR*.68),105+SS),3:CIRCLE(300+(360-RR*.68),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013277 PSET(300+(360-RR*.62),105+SS),3:CIRCLE(300+(360-RR*.62),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013278 PSET(300+(360-RR*.68),105+SS),3:CIRCLE(300+(360-RR*.68),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013279 PSET(300+(360-RR*.46),105+SS),3:CIRCLE(300+(360-RR*.46),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO14000
18. 18. 13280 PSET(300+(360-RR*.36),105+SS),3:CIRCLE(300+(360-RR*.36),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-55):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013281 PSET(300+(360-RR*.25),105+SS),3:CIRCLE(300+(360-RR*.25),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013283 PSET(300+(360-RR*.88),105+SS),3:CIRCLE(300+(360-RR*.88),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 5,0:PRINT C1\$;H0":";M0;":";S0;B0\$:COLOR 7,0:VV=1:GOTO1400013290 IF UU < 0 THEN CC\$ = "CC"14000 IF MM>180 THEN 1489514075 IF MM=0 THEN 1408014076 IF MM>105 THEN 1409714077 IF MM>60 THEN 1409214078 GOTO 1409514080 IF CC\$ = "CC" THEN 1409114090 PSET(310-MM*1.65,105-UU),3:CIRCLE(310-MM*1.65,105-UU),5,2:GOTO 1520014091 PSET(300-MM*1.65,105+UU),3:CIRCLE(300-MM*1.65,105+UU),5,2:WW=1:LOCATE UU-(UU-13),MM-(MM-40):GOTO 1520014092 IF CC\$="CC" THEN 1409414093 PSET(300-MM*1.65,105-UU),3:CIRCLE(300-MM*1.65,105-UU),5,2:WW=1:LOCATE UU-(UU-10),MM-(MM-20):GOTO 1520014094 PSET(300-MM*1.65,105+UU),3:CIRCLE(300-MM*1.65,105+UU),5,2:WW=1:LOCATE UU-(UU-10),MM-(MM-20):GOTO 1520014095 IF CC\$ = "CC" THEN 1415014097 IF CC\$="CC" THEN 1409914098 PSET(300-MM*1.65,105-UU),1:CIRCLE(300-MM*1.65,105-UU),5,2:WW=1:LOCATE UU-(UU-8),MM-(MM-3): GOTO 1520014099 PSET(300-MM*1.65,105+UU),3:CIRCLE(300-MM*1.65,105+UU),5,2:WW=1:LOCATE UU-(UU-21),MM-(MM-3): GOTO 1520014100 PSET(300-MM*1.5,105-UU),3:CIRCLE(300-MM*1.5,105-UU),5,2:WW=1:LOCATE UU-(UU-16),MM-(MM-40):GOTO 1520014150 PSET(300-MM*1.5,105+UU),3:CIRCLE(300-MM*1.5,105+UU),5,2:WW=1:LOCATE UU-(UU-22),MM-(MM-35):GOTO 1520014200 REM14895 IF CC\$="CC" THEN 1492014896 IF MM=>345 THEN 14950 :REM PARIS14900 IF MM=>330 THEN 14960 :REM ATHENS14902 IF MM=>315 THEN 14982 :REM ZONE +214904 IF MM=>300 THEN 14964 :REM ZONE +3(MOW)14905 IF MM=>285 THEN 14966 :REM BOMBAY14907 IF MM=>270 THEN 14968 :REM CALCUTTA14909 IF MM=>255 THEN 14970 :REM SINGAPORE14910 IF MM=>240 THEN 14972 :REM BEIJING14912 IF MM=>225 THEN 14974 :REM14914 IF MM=>205 THEN 14976 :REM TYO14916 IF MM=>195 THEN 14978 :REM14917 GOTO 1498014918 GOTO 1500014920 IF MM=>345 THEN 1495114922 IF MM=>330 THEN 1496114923 IF MM=>315 THEN 1498314924 IF MM=>300 THEN 1496514926 IF MM=>285 THEN 1496714928 IF MM=>270 THEN 1496914930 IF MM=>255 THEN 1497114932 IF MM=>240 THEN 14973
19. 19. 14934 IF MM=>225 THEN 1497514936 IF MM=>205 THEN 1497714938 IF MM=>195 THEN 1497914939 GOTO 1498114950 PSET(300+(360-MM*.95),105-UU),3:CIRCLE(300+(360-MM*.95),105-UU),5,2:LOCATEUU-(UU-12),MM-(MM-40):VV=2:GOTO 1520014951 PSET(300+(360-MM*.95),105+UU),3:CIRCLE(300+(360-MM*.95),105-UU),5,2:LOCATEUU-(UU-21),MM-(MM-40):VV=2:GOTO 1520014960 PSET(300+(360-MM*.91),105-UU),3:CIRCLE(300+(360-MM*.91),105-UU),5,2:LOCATEUU-(UU-12),MM-(MM-45):VV=2:GOTO 1600014961 PSET(300+(360-MM*.91),105+UU),3:CIRCLE(300+(360-MM*.91),105+UU),5,2:LOCATEUU-(UU-20),MM-(MM-40):VV=2:GOTO 1600014964 PSET(300+(360-MM*.84),105-UU),3:CIRCLE(300+(360-MM*.84),105-UU),5,2:LOCATEUU-(UU-8),MM-(MM-53):GOTO 1520014965 PSET(300+(360-MM*.84),105+UU),3:CIRCLE(300+(360-MM*.84),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-53):GOTO 1520014966 PSET(300+(360-MM*.79),105-UU),3:CIRCLE(300+(360-MM*.79),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-43):GOTO 1520014967 PSET(300+(360-MM*.79),105+UU),3:CIRCLE(300+(360-MM*.79),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-43):GOTO 1520014968 PSET(300+(360-MM*.74),105-UU),3:CIRCLE(300+(360-MM*.74),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-53):GOTO 1520014969 PSET(300+(360-MM*.74),105+UU),3:CIRCLE(300+(360-MM*.74),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-43):GOTO 1520014970 PSET(300+(360-MM*.68),105-UU),3:CIRCLE(300+(360-MM*.68),105-UU),5,2:LOCATEUU-(UU-14),MM-(MM-55):VV=2:GOTO 1600014971 PSET(300+(360-MM*.68),105+UU),3:CIRCLE(300+(360-MM*.68),105+UU),5,2:LOCATEUU-(UU-21),MM-(MM-55):VV=2:GOTO 1600014972 PSET(300+(360-MM*.62),105-UU),3:CIRCLE(300+(360-MM*.62),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-40):VV=2:GOTO 1520014973 PSET(300+(360-MM*.62),105+UU),3:CIRCLE(300+(360-MM*.62),105+UU),5,2:LOCATEUU-(UU-9),MM-(MM-40):VV=2:GOTO 1520014974 PSET(300+(360-MM*.68),105-UU),3:CIRCLE(300+(360-MM*.68),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-40):VV=2:GOTO 1520014975 PSET(300+(360-MM*.68),105-UU),3:CIRCLE(300+(360-MM*.68),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-40):VV=2:GOTO 1520014976 PSET(300+(360-MM*.57),105-UU),3:CIRCLE(300+(360-MM*.57),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-50):VV=2:GOTO 1520014977 PSET(300+(360-RR*.57),105-SS),3:CIRCLE(300+(360-RR*.57),105-SS),5,2:LOCATESS-(SS-9),RR-(RR-40):VV=2:GOTO 1400014978 PSET(300+(360-MM*.36),105-UU),3:CIRCLE(300+(360-MM*.36),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-55):VV=2:GOTO 1520014979 PSET(300+(360-MM*.36),105+UU),3:CIRCLE(300+(360-MM*.36),105+UU),5,2:LOCATEUU-(UU-20),MM-(MM-55):VV=2:GOTO 1520014980 PSET(300+(360-MM*.25),105-UU),3:CIRCLE(300+(360-MM*.25),105-UU),5,2:LOCATEUU-(UU-12),MM-(MM-55):VV=2:GOTO 1520014981 PSET(300+(360-MM*.25),105+UU),3:CIRCLE(300+(360-MM*.25),105+UU),5,2:LOCATEUU-(UU-20),MM-(MM-55):VV=2:GOTO 1520014982 PSET(300+(360-MM*.87),105-UU),3:CIRCLE(300+(360-MM*.87),105-UU),5,2:LOCATEUU-(UU-12),MM-(MM-45):VV=2:GOTO 1600014983 PSET(300+(360-MM*.87),105+UU),3:CIRCLE(300+(360-MM*.87),105+UU),5,2:LOCATEUU-(UU-20),MM-(MM-40):VV=2:GOTO 1600014999 GOTO 1600015000 PSET(300+(360-MM*.25),105-UU),3:GOTO 1520015100 PSET(300+(360-MM*.8),105+UU),,315110 IF VV = 1 THEN 15200
20. 20. 15113 IF VV = 2 THEN 1521015200 REM16000 REM16005 VIEW SCREEN(1,1)-(630,35),,116010 IF C2\$="NVL" THEN 1605016011 IF C2\$="PANAMA" THEN 1607216040 GOTO 1699016050 D\$="U10R15D10L15"16051 C\$="bm20,160; c2 r90 d4 l15 g10 l50 h8 l7 U5"16052 FOR B = 10 TO 3016054 LINE(0,40-B)-(640,40-B),016055 NEXT B16056 DRAW "bm0,35"16057 DRAW "bm5,35"16058 FOR I = 0 TO 10016059 SOUND I+I,116060 DRAW "bm+1,-0"16061 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16062 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16063 LOCATE 2,5:PRINT "NASHVILLE I40COOKEVILLE"16064 LOCATE 2,45:PRINT "75"16065 DRAW "bm+4,-0"16067 NEXT : END16071 YY1=1:CLS16072 VIEW SCREEN (1,1)-(630,35),,1: FOR B = 15 TO 2216073 LINE(375,20-B)-(645,20-B),216074 NEXT B16075 REM16076 C\$="bm20,160; c2 r90 d4 l15 g10 l50 h8 l7 u5"16077 FOR B = 10 TO 1516078 SOUND 1000,1:SOUND 2000,116079 LINE(0,40-B)-(65,40-B),216080 NEXT B16081 DRAW "bm0,23"16082 DRAW "bm5,23"16083 FOR I = 0 TO 2016084 SOUND 2000-I,116085 DRAW "bm+1,-0"16086 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16087 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16088 NEXT I16089 FOR B = 13 TO 1816090 SOUND 1000,1:SOUND 2000,116091 LINE(65,38-B)-(125,38-B),216092 LOCATE 1,2:PRINT "ATLANTIC OCEAN"16093 NEXT B16094 DRAW "bm50,20":LOCATE 3,35:PRINT"PANAMA CANAL"16095 LOCATE 1,50:PRINT"PACIFIC OCEAN"16096 DRAW "bm55,20"16097 FOR I = 20 TO 6016098 SOUND 2000-I,116099 DRAW "bm+1,-0"16100 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16101 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"
21. 21. 16102 NEXT I16103 FOR B = 18 TO 2216104 SOUND 1000,1:SOUND 2000,116105 LINE(125,40-B)-(185,40-B),216106 NEXT B16107 DRAW "bm120,17"16108 DRAW "bm125,17"16109 FOR I = 60 TO 9016110 SOUND 2000-I,116111 DRAW "bm+1,-0" :LOCATE 4,25:PRINT"LENGTH 81.6 KM"16112 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16113 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16114 NEXT I16115 FOR B = 22 TO 2616116 SOUND 1000,1:SOUND 2000,116117 LINE(185,40-B)-(245,40-B),216118 NEXT B16119 DRAW "bm170,14"16120 DRAW "bm175,14"16121 FOR I = 100 TO 14016122 SOUND 2000-I,116123 DRAW "bm+1,-0"16124 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16125 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16126 NEXT I16127 FOR B = 26 TO 3016128 SOUND 1000,1:SOUND 2000,1 :LOCATE 4,40:PRINT "DEPTH 12.5-13.7 METERS"16129 LINE(245,40-B)-(305,40-B),216130 NEXT B16131 DRAW "bm220,09"16132 DRAW "bm225,09"16133 FOR I = 130 TO 17516134 SOUND 2000-I,116135 DRAW "bm+1,-0"16136 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16137 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16138 NEXT I16139 FOR B = 29 TO 4016140 SOUND 1000,1:SOUND 2000,116141 LINE(305,40-B)-(375,40-B),216142 NEXT B16143 DRAW "bm280,05"16144 DRAW "bm285,05"16145 FOR I = 180 TO 35016146 SOUND 2000-I,116147 DRAW "bm+2,-0"16148 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16149 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"16150 NEXT I16152 END16990 REM17000 REM17030 LOCATE 19,4:PRINT T\$:LOCATE 18,19: PRINT B\$ :LOCATE 17,4:PRINT "AR":LOCATE 17,7:PRINT C2\$:LOCATE 23,3:PRINT R1\$:LOCATE 3,3018000 IF C2\$ <> "NVL" THEN 1850018002 DRAW "BM450,100 C3U10R10D10L10R50L40U20H20F20E20G20D20F30H30D45U45L5018004 LOCATE 15,62 :PRINT "X"
22. 22. 18006 LOCATE 16,54:PRINT "I6518007 LOCATE 17,46:PRINT "BIRMINGHAM18008 LOCATE 12,62:PRINT "I40 > KNOXVILLE18010 LOCATE 8,50:PRINT "I2418012 LOCATE 8,64:PRINT "I65"18014 LOCATE 16,62:PRINT "I24"18016 LOCATE 18,62:PRINT "CHATTANOOGA18018 LOCATE 7,62:PRINT"BOWLING GREEN18020 LOCATE 7,42:PRINT"ST. LOUIS18022 LOCATE 12,40:PRINT "I40 < MEMPHIS18500 IF I1\$ = "PL" THEN 18510 ELSE 1850518505 END18510 END21000 REM22400 IF MM>85 AND MM<103 AND R0 = 0 AND H0=>6 AND H0<>12 THEN GOTO 2890022402 IF MM>85 AND MM<103 AND R0 = 0 THEN GOTO 28300 LON-NVL22404 IF MM>85 AND MM<103 AND R0 = 1 AND H0=>7 AND H0<>12 THEN GOTO 2890022406 IF MM>85 AND MM<103 AND R0 = 1 THEN GOTO 28300 PAR-NVL22408 IF MM>85 AND MM<103 AND R0 = 2 AND H0=>8 AND H0<>12 THEN GOTO 2890022410 IF MM>85 AND MM<103 AND R0 = 2 THEN GOTO 28300 ATH-NVL22412 IF MM>85 AND MM<103 AND R0 = 3 AND H0=>9 AND H0<>12 THEN GOTO 2890022414 IF MM>85 AND MM<103 AND R0 = 3 THEN GOTO 28300 MOW-NVL22416 IF MM>85 AND MM<103 AND R0 = 4 AND H0=>10 AND H0<>12 THEN GOTO 2890022418 IF MM>85 AND MM<103 AND R0 = 4 THEN GOTO 28300 OMN-NVL22420 IF MM>85 AND MM<103 AND R0 = 5 AND H0=>11 AND H0<>12 THEN GOTO 2890022422 IF MM>85 AND MM<103 AND R0 = 5 THEN GOTO 28300 BOM-NVL22424 IF MM>85 AND MM<103 AND R0 = 6 AND H0<>12 THEN GOTO 2830022426 IF MM>85 AND MM<103 AND R0 = 6 THEN GOTO 28900 CAL-NVL22428 IF MM>85 AND MM<103 AND R0 = 7 AND H0=>1 AND H0<>12 THEN GOTO 28300 SGP-22430 IF MM>85 AND MM<103 AND R0 = 7 THEN GOTO 28900 SGP-NVL22432 IF MM>85 AND MM<103 AND R0 = 8 AND H0=>2 AND H0<>12 THEN GOTO 28300 BJN22434 IF MM>85 AND MM<103 AND R0 = 8 THEN GOTO 28900 BJN-NVL22436 IF MM>85 AND MM<103 AND R0 = 9 AND H0=>3 AND H0<>12 THEN GOTO 28300 TYO-N22438 IF MM>85 AND MM<103 AND R0 = 9 THEN GOTO 28900 TYO-NVL22440 IF MM>85 AND MM<103 AND R0 = 10 AND H0=>4 AND H0<>12 THEN GOTO 28300 NGU22442 IF MM>85 AND MM<103 AND R0 = 10 THEN GOTO 28900 NGV-NVL22444 IF MM>85 AND MM<103 AND R0 = 11 AND H0=>5 AND H0<>12 THEN GOTO 28300 NCL22446 IF MM>85 AND MM<103 AND R0 = 11 THEN GOTO 28900 NCL-NVL22448 IF MM>85 AND MM<103 AND R0 = 12 AND H0=>6 AND H0<>12 THEN GOTO 28300 WAK22450 IF MM>85 AND MM<103 AND R0 = 12 THEN GOTO 28900 WAK-NVL22452 IF MM>85 AND MM<103 AND R0 = -1 AND H0=>5 AND H0<>12 THEN GOTO 28900DAKAR22454 IF MM>85 AND MM<103 AND R0 = -1 THEN GOTO 28300 DAK-NVL22456 IF MM>85 AND MM<103 AND R0 = -2 AND H0=>4 AND H0<>12 THEN GOTO 28900 AZO22458 IF MM>85 AND MM<103 AND R0 = -2 THEN GOTO 28300 AZO-NVL22460 IF MM>85 AND MM<103 AND R0 = -3 AND H0=>3 AND H0<>12 THEN GOTO 28900 GRN22462 IF MM>85 AND MM<103 AND R0 = -3 THEN GOTO 28300 GRN-NVL22464 IF MM>85 AND MM<103 AND R0 = -4 AND H0=>2 AND H0<>12 THEN GOTO 28900 CAY22466 IF MM>85 AND MM<103 AND R0 = -4 THEN GOTO 28300 CAY-NVL22468 IF MM>85 AND MM<103 AND R0 = -5 AND H0=>1 AND H0<>12 THEN GOTO 28900 NYC22470 IF MM>85 AND MM<103 AND R0 = -5 THEN GOTO 28300 NCY-NVL22472 IF MM>85 AND MM<103 AND R0 = -6 AND H0<>12 THEN GOTO 28900 CHI-NVL22474 IF MM>85 AND MM<103 AND R0 = -6 THEN GOTO 28300 CHI-NVL22476 IF MM>85 AND MM<103 AND R0 = -7 AND H0=>11 AND H0<>12 THEN GOTO 28300 DEN22478 IF MM>85 AND MM<103 AND R0 = -7 THEN GOTO 28900 DEN-NVL
23. 23. 22480 IF MM>85 AND MM<103 AND R0 = -8 AND H0=>10 AND H0<>12 THEN GOTO 28300SFO22482 IF MM>85 AND MM<103 AND R0 = -8 THEN GOTO 28900 SFO-NVL22484 IF MM>85 AND MM<103 AND R0 = -9 AND H0=>9 AND H0<>12 THEN GOTO 28300 PRR22486 IF MM>85 AND MM<103 AND R0 = -9 THEN GOTO 28900 PRR-NVL22488 IF MM>85 AND MM<103 AND R0 = -10 AND H0=>8 AND H0<>12 THEN GOTO 28300 HNL22490 IF MM>85 AND MM<103 AND R0 = -10 THEN GOTO 28900 HNL-NVL22492 IF MM>85 AND MM<103 AND R0 = -11 AND H0=>7 AND H0<>12 THEN GOTO 28300 NOM22494 IF MM>85 AND MM<103 AND R0 = -11 THEN GOTO 28900 NOM-NVL22496 IF MM>85 AND MM<103 AND R0 = -12 AND H0=>6 AND H0<>12 THEN GOTO 28300MID22498 IF MM>85 AND MM<103 AND R0 = -12 THEN GOTO 28900 MID-NVL24499 GOTO 2463224500 IF MM<7.5 AND R00 = 0 AND H0<>12 THEN GOTO 28900 LON24501 IF MM<7.5 AND R00 = 0 THEN GOTO 28300 LON24505 IF MM<7.5 AND R00 = 1 AND H0>1 AND H0<>12 THEN GOTO 28900 PARIS-LON24506 IF MM<7.5 AND R00 = 1 THEN GOTO 28300 PARIS-LON24510 IF MM<7.5 AND R00 = 2 AND H0>2 AND H0<>12 THEN GOTO 28900 ATHENS-LON24511 IF MM<7.5 AND R00 = 2 THEN GOTO 28300 ATHENS-LON24515 IF MM<7.5 AND R00 = 3 AND H0>3 AND H0<>12 THEN GOTO 28900 MOSCOW-LON24516 IF MM<7.5 AND R00 = 3 THEN GOTO 28300 MOSCOW-LON24520 IF MM<7.5 AND R00 = 4 AND H0>4 AND H0<>12 THEN GOTO 28900 OMAN-LON24521 IF MM<7.5 AND R00 = 4 THEN GOTO 28300 OMAN-LON24525 IF MM<7.5 AND R00 = 5 AND H0>5 AND H0<>12 THEN GOTO 28900 BOMBAY-LON24526 IF MM<7.5 AND R00 = 5 THEN GOTO 28300 BOMBAY-LON24530 IF MM<7.5 AND R00 = 6 AND H0>6 AND H0<>12 THEN GOTO 28900 CALCUTTA-LON24531 IF MM<7.5 AND R00 = 6 THEN GOTO 28300 CALCUTTA-LON24535 IF MM<7.5 AND R00 = 7 AND H0>7 AND H0<>12 THEN GOTO 28900 SINGAPORE-LON24536 IF MM<7.5 AND R00 = 7 THEN GOTO 28300 SINGAPORE-LON24540 IF MM<7.5 AND R00 = 8 AND H0>8 AND H0<>12 THEN GOTO 28900 BEIJING-LON24541 IF MM<7.5 AND R00 = 8 GOTO 28300 BEIJING-LON24550 IF MM<7.5 AND R00 = 9 AND H0>9 AND H0<>12 THEN GOTO 28900 TYO-LON24551 IF MM<7.5 AND R00 = 9 THEN GOTO 28300 TYO-LON24555 IF MM<7.5 AND R00 =10 AND H0>10 AND H0<>12 THEN GOTO 28900 NEW GUINEA-LON24556 IF MM<7.5 AND R00 =10 THEN GOTO 28300 NEW GUINEA-LON24560 IF MM<7.5 AND R00 =11 AND H0>11 AND H0<>12 THEN GOTO 28900 NEW CALEDONIA24561 IF MM<7.5 AND R00 =11 THEN GOTO 28300 NEW CALEDONIA-LON24565 IF MM<7.5 AND R00 =12 AND H0<>12 THEN GOTO 28300 WAKE ISLAND-LON24566 IF MM<7.5 AND R00 =12 THEN GOTO 28900 WAKE ISLAND-LON24570 IF MM<7.5 AND R00 =-1 AND H0>11 AND H0<>12 THEN GOTO 28300 DAKAR-LON24575 IF MM<7.5 AND R00 =-1 THEN GOTO 28900 DAKAR-LON24580 IF MM<7.5 AND R00 =-2 AND H0>10 AND H0<>12 THEN GOTO 28300 AZORES-LON24581 IF MM<7.5 AND R00 =-2 THEN GOTO 28900 AZORES-LON24585 IF MM<7.5 AND R00 =-3 AND H0>9 AND H0<>12 THEN GOTO 28300 GREENLAND-LON24586 IF MM<7.5 AND R00 =-3 THEN GOTO 28900 GREENLAND-LON24590 IF MM<7.5 AND R00 =-4 AND H0>8 AND H0<>12 THEN GOTO 28300 CAYENNE-LON24591 IF MM<7.5 AND R00 =-4 THEN GOTO 28900 CAYENNE-LON24595 IF MM<7.5 AND R00 =-5 AND H0>7 AND H0<>12 THEN GOTO 28300 NYC-LON24596 IF MM<7.5 AND R00 =-5 THEN GOTO 28900 NYC-LON24600 IF MM<7.5 AND R00 =-6 AND H0>6 AND H0<>12 THEN GOTO 28300 CHI-LON24601 IF MM<7.5 AND R00 =-6 THEN GOTO 28900 CHI-LON24605 IF MM<7.5 AND R00 =-7 AND H0>5 AND H0<>12 THEN GOTO 28300 DENVER-LON24606 IF MM<7.5 AND R00 =-7 THEN GOTO 28900 DENVER-LON24610 IF MM<7.5 AND R00 =-8 AND H0>4 AND H0<>12 THEN GOTO 28300 SFO-LON24611 IF MM<7.5 AND R00 =-8 THEN GOTO 28900 SFO-LON24615 IF MM<7.5 AND R00 =-9 AND H0>3 AND H0<>12 THEN GOTO 28300 PRINCE RUPERT-L24616 IF MM<7.5 AND R00 =-9 THEN GOTO 28900 PRINCE RUPERT-LON
24. 24. 24620 IF MM<7.5 AND R00 =-10 AND H0>2 AND H0<>12 THEN GOTO 28300 HNL-LON24621 IF MM<7.5 AND R00 =-10 THEN GOTO 28900 HNL-LON24625 IF MM<7.5 AND R00 =-11 AND H0>1 AND H0<>12 THEN GOTO 28300 NOME-LON24626 IF MM<7.5 AND R00 =-11 THEN GOTO 28900 NOME-LON24630 IF MM<7.5 AND R00 =-12 AND H0<>12 THEN GOTO 28300 MIDWAY-LON24631 IF MM<7.5 AND R00 =-12 THEN GOTO 28900 MIDWAY-LON24632 REM25132 7.4048919754D-13 C RCUMFERENCE28200 REM28300 IF L>11 THEN 2860028400 IF B0\$="PM" THEN B\$="PM":GOTO 545028500 IF B0\$="AM" THEN B\$="AM":GOTO 545028600 IF B0\$="PM" THEN B\$="AM":GOTO 545028700 IF B0\$="AM" THEN B\$="PM":GOTO 545028800 REM28900 IF L>11 THEN 2920029000 IF B0\$="PM" THEN B\$="AM":GOTO 545029100 IF B0\$="AM" THEN B\$="PM":GOTO 545029200 IF B0\$="AM" THEN B\$="AM":GOTO 545029300 IF B0\$="PM" THEN B\$="PM":GOTO 545040495 F\$ = "NVLLON.BAS"40496 OPEN F\$ FOR INPUT AS 1:WHILE NOT EOF (1)40497 LINE INPUT #1,F\$40498 WEND : CLOSE #140500 REM NVLLON40501 IF B0\$ ="AM" AND B\$ = "AM" THEN 4056440502 IF B0\$ ="PM" AND B\$ = "AM" THEN 4050540503 IF B0\$ ="AM" AND B\$ = "PM" THEN 4056440504 IF B0\$ ="PM" AND B\$ = "PM" THEN 4056440505 IF H = 3 AND L=<14 THEN 1262040506 IF H = 3 AND L >14 AND L=<38 THEN 1262240507 IF H = 3 AND L >38 AND L=<62 THEN 1262440508 IF H = 3 AND L > 57 THEN 4062440509 REM40510 IF H = 4 AND L=<15 THEN 1262040511 IF H = 4 AND L >15 AND L=<39 THEN 1262240512 IF H = 4 AND L>39 AND L=<63 THEN 1262440513 IF H = 4 AND L >63 THEN 4062440514 REM40515 IF H = 5 AND L=<16 THEN 1262040516 IF H = 5 AND L >16 AND L=<40 THEN 1262240517 IF H = 5 AND L >40 AND L=<64 THEN 1262440518 IF H = 5 AND L >59 THEN 4062440519 REM40520 IF H = 6 AND L <17 THEN 1262040521 IF H = 6 AND L=>17 AND L <=41 THEN 1262240522 IF H = 6 AND L >41 AND L=<61 THEN 1262440523 IF H = 6 AND L >61 THEN 4062440524 REM40525 IF H = 7 AND L <18 THEN 1262040526 IF H = 7 AND L=>18 AND L=< 43 THEN 1262240527 IF H = 7 AND L >43 AND L=< 67 THEN 1262440528 IF H = 7 AND L >61 THEN 4062440529 REM40530 IF H = 8 AND L <19 THEN 1262040531 IF H = 8 AND L=>19 AND L <=43 THEN 1262240532 IF H = 8 AND L >43 AND L=< 67 THEN 12624
25. 25. 40533 IF H = 8 AND L > 67 THEN 4062440534 REM40535 IF H = 9 AND L <20 THEN 1262040536 IF H = 9 AND L=>20 AND L=<44 THEN 1262240537 IF H = 9 AND L >44 AND L <=68 THEN 1262440538 IF H = 9 AND L >63 THEN 4062440539 REM40540 IF H = 10 AND L <21 THEN 1262040541 IF H = 10 AND L=>21 AND L=<45 THEN 1262240542 IF H = 10 AND L >45 AND L <=69 THEN 1262440543 IF H = 10 AND L >69 THEN 4062440544 REM40545 IF H = 11 AND L <22 THEN 1262040546 IF H = 11 AND L=>22 AND L=<46 THEN 1262240547 IF H = 11 AND L >46 AND L <=70 THEN 1262440548 IF H = 11 AND L >70 THEN 4062440549 REM40550 IF H = 12 AND L=<11 THEN 1262040551 IF H = 12 AND L>11 AND L <=35 THEN 1262240552 IF H = 12 AND L>35 AND L <=59 THEN 1262440553 IF H = 12 AND L>59 THEN 4062440554 REM40555 IF H = 1 AND L=<12 THEN 1262040556 IF H = 1 AND L >12 AND L=< 36 THEN 1262240557 IF H = 1 AND L > 36 AND L=< 60 THEN 1262440558 IF H = 1 AND L > 67 THEN 4062440559 REM40560 IF H = 2 AND L=<13 THEN 1262040561 IF H = 2 AND L >13 AND L <37 THEN 1262240562 IF H = 2 AND L=>37 AND L=<51 THEN 1262440563 IF H = 2 AND L >51 THEN 4062440564 REM40565 IF H = 1 AND L <7 THEN 1260040566 IF H = 1 AND L=>7 AND L=<31 THEN 1262040567 IF H = 1 AND L >31 AND L=<55 THEN 1262240568 IF H = 1 AND L >55 THEN 4062440569 REM40570 IF H = 2 AND L <8 THEN 1260040571 IF H = 2 AND L=>8 AND L=<32 THEN 1262040572 IF H = 2 AND L >32 AND L=<56 THEN 1262240573 IF H = 2 AND L >56 THEN 4062440574 REM40575 IF H = 3 AND L <9 THEN 1260040576 IF H = 3 AND L=>9 AND L=<33 THEN 1262040577 IF H = 3 AND L>33 AND L=<57 THEN 1262240578 IF H = 3 AND L>57 THEN 4062440579 REM40580 IF H = 4 AND L<10 THEN 1260040581 IF H = 4 AND L=>10 AND L=<34 THEN 1262040582 IF H = 4 AND L >34 AND L=<58 THEN 1262240583 IF H = 4 AND L >58 THEN 4062440584 REM40585 IF H = 5 AND L<11 THEN 1260040586 IF H = 5 AND L=>11 AND L=<35 THEN 1262040587 IF H = 5 AND L >35 AND L=<59 THEN 1262240588 IF H = 5 AND L>59 THEN 40624
26. 26. 40589 REM40590 IF H = 6 AND L<12 THEN 1260040591 IF H = 6 AND L=>12 AND L=<36 THEN 1262040592 IF H = 6 AND L>36 AND L=<60 THEN 1262240593 IF H = 6 AND L>60 THEN 4062440594 REM40595 IF H = 7 AND L<13 THEN 1260040596 IF H = 7 AND L=>13 AND L=<37 THEN 1262040597 IF H = 7 AND L>37 AND L=<61 THEN 1262240598 IF H = 7 AND L>61 THEN 4062440599 REM40600 IF H = 8 AND L<14 THEN 1260040601 IF H = 8 AND L=>14 AND L=<38 THEN 1262040602 IF H = 8 AND L>38 AND L=<62 THEN 1262240603 IF H = 8 AND L>62 THEN 4062440604 REM40605 IF H = 9 AND L<15 THEN 1260040606 IF H = 9 AND L=>15 AND L=<39 THEN 1262040607 IF H = 9 AND L>39 AND L=<63 THEN 1262240608 IF H = 9 AND L>63 THEN 4062440609 REM40610 IF H = 10 AND L<16 THEN 1260040611 IF H = 10 AND L=>16 AND L=<40 THEN 1262040612 IF H = 10 AND L>40 AND L=<64 THEN 1262240613 IF H = 10 AND L>64 THEN 4062440614 REM40615 IF H = 11 AND L<17 THEN 1260040616 IF H = 11 AND L=>17 AND L=<41 THEN 1262040617 IF H = 11 AND L>41 AND L=<65 THEN 1262240618 IF H = 11 AND L>65 THEN 4062440619 REM40620 IF H = 12 AND L<6 THEN 1260040621 IF H = 12 AND L=>6 AND L=<30 THEN 1262040622 IF H = 12 AND L>30 AND L=<54 THEN 1262240623 IF H = 12 AND L>54 THEN 4062440624 D4 = L / 21.5 : GOTO 1264540625 EOF (1)40800 REM NVLDAK40801 IF B0\$ ="AM" AND B\$ = "AM" THEN 4080640802 IF B0\$ ="PM" AND B\$ = "AM" THEN 4080640803 IF B0\$ ="AM" AND B\$ = "PM" THEN 4086740804 IF B0\$ ="PM" AND B\$ = "PM" THEN 4086740805 REM40806 IF H = 3 AND L<10 THEN 1260040807 IF H = 3 AND L=>10 AND L=<34 THEN 1262040808 IF H = 3 AND L>34 AND L=<58 THEN 1262240809 IF H = 3 AND L>58 THEN 1264040810 REM40811 IF H = 4 AND L<11 THEN 1260040812 IF H = 4 AND L=>11 AND L=<35 THEN 1262040813 IF H = 4 AND L>35 AND L=<59 THEN 1262240814 IF H = 4 AND L>59 THEN 1264040815 REM40816 IF H = 5 AND L<12 THEN 1260040817 IF H = 5 AND L=>12 AND L=<36 THEN 1262040818 IF H = 5 AND L>36 AND L=<60 THEN 1262240819 IF H = 5 AND L>60 THEN 12640
27. 27. 40820 REM40821 IF H = 6 AND L<13 THEN 1260040822 IF H = 6 AND L=>13 AND L<=37 THEN 1262040823 IF H = 6 AND L>37 AND L=<61 THEN 1262440824 IF H = 6 AND L>61 THEN 1264040825 REM40826 IF H = 7 AND L<14 THEN 1260040827 IF H = 7 AND L=>14 AND L=<38 THEN 1262040828 IF H = 7 AND L>38 AND L=<62 THEN 1262240829 IF H = 7 AND L>62 THEN 1264040830 REM40831 IF H = 8 AND L<15 THEN 1260040832 IF H = 8 AND L=>15 AND L<=39 THEN 1262040833 IF H = 8 AND L>39 AND L=<63 THEN 1262240834 IF H = 8 AND L>63 THEN 1264040835 REM40836 IF H = 9 AND L<16 THEN 1260040837 IF H = 9 AND L=>16 AND L=<40 THEN 1262040838 IF H = 9 AND L>40 AND L<=64 THEN 1262240839 IF H = 9 AND L>64 THEN 1264040840 REM40841 IF H = 10 AND L<17 THEN 1260040842 IF H = 10 AND L=>17 AND L=<41 THEN 1262040843 IF H = 10 AND L>41 AND L<=65 THEN 1262240844 IF H = 10 AND L>65 THEN 1264040845 REM40846 IF H = 11 AND L<18 THEN 1260040847 IF H = 11 AND L=>18 AND L=<42 THEN 1262040848 IF H = 11 AND L>42 AND L<=66 THEN 1262240849 IF H = 11 AND L>66 THEN 1264040850 REM40851 IF H = 12 AND L<7 THEN 1260040852 IF H = 12 AND L=>7 AND L <=31 THEN 1262040853 IF H = 12 AND L>31 AND L<=55 THEN 1262240854 IF H = 12 AND L>55 THEN 1264040857 REM40858 IF H = 1 AND L<8 THEN 1260040859 IF H = 1 AND L=>8 AND L=<32 THEN 1262040860 IF H = 1 AND L>32 AND L=<56 THEN 1262240861 IF H = 1 AND L>56 THEN 1264040862 REM40863 IF H = 2 AND L<9 THEN 1260040864 IF H = 2 AND L=>9 AND L=<33 THEN 1262040865 IF H = 2 AND L>33 AND L=<57 THEN 1262240866 IF H = 2 AND L>57 THEN 1264040867 REM40868 IF H = 1 AND L <11 THEN 1260040869 IF H = 1 AND L=>11 AND L=<35 THEN 1262040870 IF H = 1 AND L >35 AND L=<59 THEN 1262240871 IF H = 1 AND L >59 THEN 1264040872 REM40873 IF H = 2 AND L <12 THEN 1260040874 IF H = 2 AND L=>12 AND L=<36 THEN 1262040875 IF H = 2 AND L >36 AND L=<60 THEN 1262240876 IF H = 2 AND L >60 THEN 1264040877 REM40878 IF H = 3 AND L=<9 THEN 12600
28. 28. 40879 IF H = 3 AND L >9 AND L=< 33 THEN 1262040880 IF H = 3 AND L >33 AND L=<57 THEN 1262240881 IF H = 3 AND L >57 THEN 1264040882 REM40883 IF H = 4 AND L=<10 THEN 1260040884 IF H = 4 AND L >10 AND L=<34 THEN 1262040885 IF H = 4 AND L >36 AND L=<60 THEN 1262240886 IF H = 4 AND L >60 THEN 1264040887 REM40888 IF H = 5 AND L=<11 THEN 1260040889 IF H = 5 AND L >11 AND L=<35 THEN 1262040890 IF H = 5 AND L >35 AND L=<59 THEN 1262240891 IF H = 5 AND L > 71 THEN 1264040892 REM40893 IF H = 6 AND L=<12 THEN 1260040894 IF H = 6 AND L >12 AND L=< 36 THEN 1262040895 IF H = 6 AND L >36 AND L=<60 THEN 1262240896 IF H = 6 AND L > 60 THEN 1264040897 REM40898 IF H = 7 AND L=<13 THEN 1260040899 IF H = 7 AND L >13 AND L=<37 THEN 1262040900 IF H = 7 AND L >37 AND L=<61 THEN 1262240901 IF H = 7 AND L >61 THEN 1264040902 REM40903 IF H = 8 AND L=<14 THEN 1260040904 IF H = 8 AND L >14 AND L=<38 THEN 1262040905 IF H = 8 AND L >38 AND L=<62 THEN 1262240906 IF H = 8 AND L >61 THEN 1264040907 REM40908 IF H = 9 AND L=<15 THEN 1260040909 IF H = 9 AND L>15 AND L=<39 THEN 1262040910 IF H = 9 AND L>39 AND L=<63 THEN 1262240911 IF H = 9 AND L>63 THEN 1264040912 REM40913 IF H = 10 AND L=<16 THEN 1260040914 IF H = 10 AND L>15 AND L=<39 THEN 1262040915 IF H = 10 AND L>39 AND L=<63 THEN 1262240916 IF H = 10 AND L>63 THEN 1264040917 REM40918 IF H = 11 AND L=<17 THEN 1260040919 IF H = 11 AND L>17 AND L=<41 THEN 1262040920 IF H = 11 AND L>41 AND L=<65 THEN 1262240921 IF H = 11 AND L>65 THEN 1264040922 REM40923 IF H = 12 AND L=<10 THEN 1260040924 IF H = 12 AND L>10 AND L=<34 THEN 1262040925 IF H = 12 AND L>34 AND L=<59 THEN 1262240926 IF H = 12 AND L > 59 THEN 1264040927 EOF = (1)49500 REM LONMID49502 IF B0\$ ="AM" AND B\$ ="PM" THEN 4962849504 IF B0\$ ="AM" AND B\$ ="AM" THEN 4951049506 IF B0\$ ="PM" AND B\$ = "AM" THEN 4951049508 IF B0\$ ="PM" AND B\$ ="PM" THEN 4951049510 IF H = 3 AND L<10 THEN 12600
29. 29. 49512 IF H = 3 AND L=>10 AND L=<34 THEN 1262049514 IF H = 3 AND L>34 AND L=<58 THEN 1262249516 IF H = 3 AND L>58 THEN 1264049518 REM49520 IF H = 4 AND L<11 THEN 1260049522 IF H = 4 AND L=>11 AND L=<35 THEN 1262049524 IF H = 4 AND L>35 AND L=<59 THEN 1262249526 IF H = 4 AND L>59 THEN 1264049528 REM49530 IF H = 5 AND L<12 THEN 1260049532 IF H = 5 AND L=>12 AND L=<36 THEN 1262049534 IF H = 5 AND L>36 AND L=<60 THEN 1262249536 IF H = 5 AND L>60 THEN 1264049538 REM49540 IF H = 6 AND L<13 THEN 1260049542 IF H = 6 AND L=>13 AND L<=37 THEN 1262049544 IF H = 6 AND L>37 AND L=<61 THEN 1262249546 IF H = 6 AND L>61 THEN 1264049548 REM49550 IF H = 7 AND L<14 THEN 1260049552 IF H = 7 AND L>=14 AND L=<38 THEN 1262049554 IF H = 7 AND L>38 AND L=<62 THEN 1262249556 IF H = 7 AND L>62 THEN 1264049558 REM49560 IF H = 8 AND L<15 THEN 1260049562 IF H = 8 AND L=>15 AND L<=39 THEN 1262049564 IF H = 8 AND L>39 AND L=<63 THEN 1262249566 IF H = 8 AND L>63 THEN 1264049568 REM49570 IF H = 9 AND L<16 THEN 1260049572 IF H = 9 AND L=>16 AND L=<40 THEN 1262049574 IF H = 9 AND L>40 AND L<=64 THEN 1262249576 IF H = 9 AND L>64 THEN 1264049578 REM49580 IF H = 10 AND L<17 THEN 1260049582 IF H = 10 AND L=>17 AND L=<41 THEN 1262049584 IF H = 10 AND L>41 AND L<=65 THEN 1262249586 IF H = 10 AND L>65 THEN 1264049588 REM49590 IF H = 11 AND L<18 THEN 1260049592 IF H = 11 AND L=>18 AND L=<42 THEN 1262049594 IF H = 11 AND L>42 AND L<=66 THEN 1262249596 IF H = 11 AND L>66 THEN 1264049598 REM49600 IF H = 12 AND L<7 THEN 1260049602 IF H = 12 AND L=>7 AND L<=31 THEN 1262049604 IF H = 12 AND L>31 AND L<=55 THEN 1262249606 IF H = 12 AND L>55 THEN 1264049608 REM49610 IF H = 1 AND L<8 THEN 1260049612 IF H = 1 AND L>=8 AND L=<32 THEN 1262049614 IF H = 1 AND L>32 AND L=<56 THEN 1262249616 IF H = 1 AND L>56 THEN 1264049618 REM49620 IF H = 2 AND L<9 THEN 1260049622 IF H = 2 AND L>=9 AND L=<33 THEN 1262049624 IF H = 2 AND L>33 AND L=<57 THEN 12622
30. 30. 49626 IF H = 2 AND L>57 THEN 1264049628 REM49630 IF H = 1 AND L<2 THEN 1262649632 IF H = 1 AND L=>2 AND L=<26 THEN 1260049634 IF H = 1 AND L>26 AND L=<50 THEN 1262049636 IF H = 1 AND L>50 THEN 1264049638 REM49640 IF H = 2 AND L<3 THEN 1262649642 IF H = 2 AND L=>3 AND L=<27 THEN 1260049644 IF H = 2 AND L>27 AND L=<51 THEN 1262049646 IF H = 2 AND L>51 THEN 1264049648 REM49650 IF H = 3 AND L<4 THEN 1262649652 IF H = 3 AND L=>4 AND L=<28 THEN 1260049654 IF H = 3 AND L>28 AND L=<52 THEN 1262049656 IF H = 3 AND L>52 THEN 1264049658 REM49660 IF H = 4 AND L<5 THEN 1262649662 IF H = 4 AND L=>5 AND L=<29 THEN 1260049664 IF H = 4 AND L>29 AND L=<53 THEN 1262049666 IF H = 4 AND L>53 THEN 1264049668 REM49670 IF H = 5 AND L<6 THEN 1262649672 IF H = 5 AND L=>6 AND L=<30 THEN 1260049674 IF H = 5 AND L>30 AND L=<54 THEN 1262049676 IF H = 5 AND L>54 THEN 1264049678 REM49680 IF H = 6 AND L<7 THEN 1262649682 IF H = 6 AND L=>7 AND L=<31 THEN 1260049684 IF H = 6 AND L>31 AND L=<55 THEN 1262049686 IF H = 6 AND L>55 THEN 1264049688 REM49690 IF H = 7 AND L<8 THEN 1262649692 IF H = 7 AND L=>8 AND L=<32 THEN 1260049694 IF H = 7 AND L>32 AND L=<56 THEN 1262049696 IF H = 7 AND L>56 THEN 1264049698 REM49700 IF H = 8 AND L<9 THEN 1262649702 IF H = 8 AND L=>9 AND L=<33 THEN 1260049704 IF H = 8 AND L>33 AND L=<57 THEN 1262049706 IF H = 8 AND L>57 THEN 1264049708 REM49710 IF H = 9 AND L<10 THEN 1262649712 IF H = 9 AND L=>10 AND L=<34 THEN 1260049714 IF H = 9 AND L>34 AND L=<58 THEN 1262049716 IF H = 9 AND L>58 THEN 1264049718 REM49720 IF H = 10 AND L<11 THEN 1262649722 IF H = 10 AND L=>11 AND L=<35 THEN 1260049724 IF H = 10 AND L>35 AND L=<59 THEN 1262049726 IF H = 10 AND L>59 THEN 1264049728 REM49730 IF H = 11 AND L<12 THEN 1262649732 IF H = 11 AND L=>12 AND L=<36 THEN 1260049734 IF H = 11 AND L>36 AND L=<60 THEN 1262049736 IF H = 11 AND L>60 THEN 1264049738 REM
31. 31. 49740 IF H = 12 AND L<1 THEN 1262649742 IF H = 12 AND L=>1 AND L=<25 THEN 1260049744 IF H = 12 AND L>25 AND L=<49 THEN 1262049746 IF H = 12 AND L>49 THEN 1264050290 F\$ = "NVLCAL.BAS"50292 OPEN F\$ FOR INPUT AS 1:WHILE NOT EOF (1)50294 LINE INPUT #1,F\$50296 WEND : CLOSE #251327 4.048919754D-14 C RCUMFERENCE60000 REM zone -6to-6 nvl to nvl60001 IF R00<> R22 THEN 6012860002 IF B0\$ ="AM" AND B\$ = "AM" THEN 6012860004 IF B0\$ ="PM" AND B\$ = "AM" THEN 6001060006 IF B0\$ ="AM" AND B\$ = "PM" THEN 6012860008 IF B0\$ ="PM" AND B\$ = "PM" THEN 6012860010 IF H = 3 AND L=<14 THEN 1262060012 IF H = 3 AND L >14 AND L=<38 THEN 1262260014 IF H = 3 AND L >38 AND L=<62 THEN 1262460016 IF H = 3 AND L > 57 THEN 1264060018 REM60020 IF H = 4 AND L=<15 THEN 1262060022 IF H = 4 AND L >15 AND L=<39 THEN 1262260024 IF H = 4 AND L>39 AND L=<63 THEN 1262460026 IF H = 4 AND L >63 THEN 1264060028 REM60030 IF H = 5 AND L=<16 THEN 1262060032 IF H = 5 AND L >16 AND L=<40 THEN 1262260034 IF H = 5 AND L >40 AND L=<64 THEN 1262460036 IF H = 5 AND L >59 THEN 1264060038 REM60040 IF H = 6 AND L <17 THEN 1262060042 IF H = 6 AND L=>17 AND L <=41 THEN 1262260044 IF H = 6 AND L >41 AND L=<61 THEN 1262460046 IF H = 6 AND L >61 THEN 1264060048 REM60050 IF H = 7 AND L <18 THEN 1262060052 IF H = 7 AND L=>18 AND L=< 43 THEN 1262260054 IF H = 7 AND L >43 AND L=< 67 THEN 1262460056 IF H = 7 AND L >61 THEN 1264060058 REM60060 IF H = 8 AND L <19 THEN 1262060062 IF H = 8 AND L=>19 AND L <=43 THEN 1262260064 IF H = 8 AND L >43 AND L=< 67 THEN 1262460066 IF H = 8 AND L > 67 THEN 1264060068 REM60070 IF H = 9 AND L <20 THEN 1262060072 IF H = 9 AND L=>20 AND L=<44 THEN 1262260074 IF H = 9 AND L >44 AND L <=68 THEN 1262460076 IF H = 9 AND L >63 THEN 1264060078 REM60080 IF H = 10 AND L <21 THEN 1262060082 IF H = 10 AND L=>21 AND L=<45 THEN 1262260084 IF H = 10 AND L >45 AND L <=69 THEN 1262460086 IF H = 10 AND L >69 THEN 1264060088 REM60090 IF H = 11 AND L <22 THEN 1262060092 IF H = 11 AND L=>22 AND L=<46 THEN 12622
32. 32. 60094 IF H = 11 AND L >46 AND L <=70 THEN 1262460096 IF H = 11 AND L >70 THEN 1264060098 REM60100 IF H = 12 AND L=<23 THEN 1262060102 IF H = 12 AND L>23 AND L <=47 THEN 1262260104 IF H = 12 AND L>47 AND L <=71 THEN 1262460106 IF H = 12 AND L>71 THEN 1264060108 REM60110 IF H = 1 AND L=<12 THEN 1262060112 IF H = 1 AND L >12 AND L=< 36 THEN 1262260114 IF H = 1 AND L > 36 AND L=< 60 THEN 1262460116 IF H = 1 AND L > 67 THEN 1264060118 REM60120 IF H = 2 AND L=<13 THEN 1262060122 IF H = 2 AND L >13 AND L <37 THEN 1262260124 IF H = 2 AND L=>37 AND L=<51 THEN 1262460126 IF H = 2 AND L >51 THEN 1264060128 REM60130 IF H = 1 AND L <13 THEN 1260060132 IF H = 1 AND L=>13 AND L=<37 THEN 1262060134 IF H = 1 AND L >37 AND L=<61 THEN 1262260136 IF H = 1 AND L >61 THEN 1264060138 REM60140 IF H = 2 AND L <14 THEN 1260060142 IF H = 2 AND L=>14 AND L=<38 THEN 1262060144 IF H = 2 AND L >38 AND L=<62 THEN 1262260146 IF H = 2 AND L >62 THEN 1264060148 REM60150 IF H = 3 AND L <15 THEN 1260060152 IF H = 3 AND L=>15 AND L=<39 THEN 1262060154 IF H = 3 AND L >39 AND L=<63 THEN 1262260156 IF H = 3 AND L >63 THEN 1264060158 REM60160 IF H = 4 AND L <16 THEN 1260060162 IF H = 4 AND L=>16 AND L=<40 THEN 1262060164 IF H = 4 AND L >40 AND L=<64 THEN 1262260166 IF H = 4 AND L >64 THEN 1264060168 REM60170 IF H = 5 AND L <17 THEN 1260060172 IF H = 5 AND L=>17 AND L=<41 THEN 1262060174 IF H = 5 AND L >41 AND L=<65 THEN 1262260176 IF H = 5 AND L >65 THEN 1264060178 REM60180 IF H = 6 AND L <18 THEN 1260060182 IF H = 6 AND L=>18 AND L=<42 THEN 1262060184 IF H = 6 AND L >42 AND L=<66 THEN 1262260186 IF H = 6 AND L >66 THEN 1264060188 REM60190 IF H = 7 AND L <19 THEN 1260060192 IF H = 7 AND L=>19 AND L=<43 THEN 1262060194 IF H = 7 AND L >43 AND L=<67 THEN 1262260196 IF H = 7 AND L >67 THEN 1264060198 REM60200 IF H = 8 AND L <20 THEN 1260060202 IF H = 8 AND L=>20 AND L=<44 THEN 1262060204 IF H = 8 AND L >44 AND L=<68 THEN 1262260206 IF H = 8 AND L >68 THEN 12640
33. 33. 60208 REM60210 IF H = 9 AND L <21 THEN 1260060212 IF H = 9 AND L=>21 AND L=<45 THEN 1262060214 IF H = 9 AND L>45 AND L=<69 THEN 1262260216 IF H = 9 AND L>74 THEN 1264060218 REM60220 IF H = 10 AND L <22 THEN 1260060222 IF H = 10 AND L=>22 AND L=<46 THEN 1262060224 IF H = 10 AND L>46 AND L=<70 THEN 1262260226 IF H = 10 AND L>70 THEN 1264060228 REM60230 IF H = 11 AND L <23 THEN 1260060232 IF H = 11 AND L=>23 AND L=<47 THEN 1262060234 IF H = 11 AND L>47 AND L=<71 THEN 1262260236 IF H = 11 AND L>71 THEN 1264060238 REM60240 IF H = 12 AND L=<12 THEN 1260060242 IF H = 12 AND L>12 AND L=<36 THEN 1262060244 IF H = 12 AND L>36 AND L=<60 THEN 1262260246 IF H = 12 AND L >60 THEN 1264060250 IF N\$(N)= "JAN" THEN M = 160252 IF N\$(N)= "FEB" THEN M = 260254 IF N\$(N)= "MAR" THEN M = 360256 IF N\$(N)= "APR" THEN M = 460258 IF N\$(N)= "MAY" THEN M = 560260 IF N\$(N)= "JUN" THEN M = 660262 IF N\$(N)= "JUL" THEN M = 760264 IF N\$(N)= "AUG" THEN M = 860266 IF N\$(N)= "SEP" THEN M = 960268 IF N\$(N)= "OCT" THEN M = 1060270 IF N\$(N)= "NOV" THEN M = 1160272 IF N\$(N)= "DEC" THEN M = 1260300 D = T360302 Y=YEAR60304 LET J\$(1) = "SUNDAY"60306 LET J\$(2) = "MONDAY"60308 LET J\$(3) = "TUESDAY"60310 LET J\$(4) = "WEDNESDAY"60312 LET J\$(5) = "THURSDAY"60314 LET J\$(6) = "FRIDAY"60316 LET J\$(7) = "SATURDAY"60318 LET K = INT(.6 +(1/M))60320 LET L = Y - K60322 LET O = M + 12*K60324 LET P = L/10060326 LET Z1 = INT(P/4)60328 LET Z2 = INT(P)60330 LET Z3 = INT((5*L)/4)60332 LET Z4 = INT(13*(O+1)/5)60334 LET Z10= Z4+Z3-Z2+Z1+D0-160336 LET Z10 = Z10-(7*INT(Z10/7))+160338 RETURN