Tanker.bas

186 views
101 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
186
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Tanker.bas

  1. 1. 2 GOTO 303 LIST 700-9004 LIST 2265-560010 LIST 2390-556015 LIST 575-130020 LIST 1100-118525 LIST 700-77030 MONTH$ = LEFT$(DATE$,2)35 REM40 D2 = VAL (DAYS$)45 IF VAL(MONTH$)> 11 THEN 15550 IF VAL(MONTH$)> 10 THEN 15055 IF VAL(MONTH$)> 9 THEN 14560 IF VAL(MONTH$)> 8 THEN 14065 IF VAL(MONTH$)> 7 THEN 13570 IF VAL(MONTH$)> 6 THEN 13075 IF VAL(MONTH$)> 5 THEN 12585 IF VAL(MONTH$)> 3 THEN 11590 IF VAL(MONTH$)> 2 THEN 11095 IF VAL(MONTH$)> 1 THEN 105100 D3 = 0 + D2 :GOTO 160105 D3 = 31 + D2 :GOTO 160110 D3 = 59 + D2 :GOTO 160115 D3 = 90 + D2 :GOTO 160120 D3 = 120 + D2 :GOTO 160125 D3 = 151 + D2 :GOTO 160130 D3 = 181 + D2 :GOTO 160135 D3 = 212 + D2 :GOTO 160140 D3 = 243 + D2 :GOTO 160145 D3 = 273 + D2 :GOTO 160150 D3 = 304 + D2 :GOTO 160155 D3 = 334 + D2 :GOTO 160160 MONTH$=LEFT$(DATE$,2) : B1$="AM"165 DAYS$= MID$(DATE$,4,2)170 D2 = VAL (DAYS$)175 IF VAL(MONTH$)> 11 THEN 285180 IF VAL(MONTH$)> 10 THEN 280185 IF VAL(MONTH$)> 9 THEN 275190 IF VAL(MONTH$)> 8 THEN 270195 IF VAL(MONTH$)> 7 THEN 265200 IF VAL(MONTH$)> 6 THEN 260205 IF VAL(MONTH$)> 5 THEN 255210 IF VAL(MONTH$)> 4 THEN 250215 IF VAL(MONTH$)> 3 THEN 245220 IF VAL(MONTH$)> 2 THEN 240225 IF VAL(MONTH$)> 1 THEN 235230 D3 = 0 + D2 :GOTO 290235 D3 = 31 + D2 :GOTO 290240 D3 = 59 + D2 :GOTO 290245 D3 = 90 + D2 :GOTO 290250 D3 = 120 + D2 :GOTO 290255 D3 = 151 + D2 :GOTO 290260 D3 = 181 + D2 :GOTO 290265 D3 = 212 + D2 :GOTO 290270 D3 = 243 + D2 :GOTO 290275 D3 = 273 + D2 :GOTO 290280 D3 = 304 + D2 :GOTO 290
  2. 2. 285 D3 = 334 + D2 :GOTO 290290 REM295 HOUR= VAL(TIME$) :N1$ = "PM":SCREEN 9:SCREEN 0,0,0,0300 MONTH=VAL(DATE$)305 DAY = VAL(MID$(DATE$,4))310 YEAR = VAL(RIGHT$(DATE$,4))315 MIN = VAL(MID$(TIME$,4)) : COLOR 1,3 : KEY ON320 KEY 1, "LON" : KEY 3,"PAR":KEY 4,"MOW":KEY 5,"TYO"325 KEY 6,"HNL":KEY 7,"SFO":KEY 8,"CHI":KEY 9,"NYC":KEY 10,"NVL"330 IF YEAR = 1992 THEN GOTO 335 ELSE 340335 ZN = 94 : ZM = 298 : GOTO 370340 IF YEAR = 1993 THEN GOTO 345 ELSE 350345 ZN = 93 : ZM = 304 : GOTO 370350 IF YEAR = 1994 THEN GOTO 355 ELSE 360355 ZN = 92 : ZM = 303 : GOTO 370360 IF YEAR = 1995 THEN GOTO 365 ELSE 370365 ZN = 91 : ZM = 302370 D=DAY:M=MONTH:Y=YEAR :REM 57 PRACTICAL PROGRAMS & GAMES IN BASIC KENTRACTON375 LET J$(1) = "SUNDAY"380 LET J$(2) = "MONDAY"385 LET J$(3) = "TUESDAY"390 LET J$(4) = "WEDNESDAY"395 LET J$(5) = "THURSDAY"400 LET J$(6) = "FRIDAY"405 LET J$(7) = "SATURDAY"410 LET K = INT(.6 +(1/M))415 LET L = Y - K420 LET O = M + 12*K425 LET P = L/100430 LET Z1 = INT(P/4)435 LET Z2 = INT(P)440 LET Z3 = INT((5*L)/4)445 LET Z4 = INT(13*(O+1)/5)450 LET Z10= Z4+Z3-Z2+Z1+D-1455 LET Z11 = Z10-(7*INT(Z10/7))+1460 CLS :EE=0465 COLOR 12,0,0:PRINT"TRIP4.BAS COPYRIGHT 1990 PLANE OR SHIP PRESS P OR S"470 COLOR 15,0,0:PRINT" OIL TANKER (10 KNOTS)C "475 COLOR 11,0,0:PRINT"FOR SHIP FROM HOUSTON TO PUNTA FIJO (VENEZUELA) PRESS H":COLOR 0,3480 COLOR 11,0,0:PRINT"FOR SHIP FROM CAPE TOWN(AFRICA) TO HOUSTON PRESS T":COLOR 0,3485 COLOR 15,0,0:PRINT"FOR (GOMAX 550)SHIP FROM GULF OF MEXICO TO HOUSTON PRESSM ":COLOR 0,3490 COLOR 15,0,0:PRINT"FOR SHIP FROM CAIRO TO GIBRALTAR PRESS R ":COLOR0,3495 COLOR 15,0,0:PRINT"FOR SHIP FROM HOUSTON TO CAPE TOWN PRESS O ":COLOR0,3500 REM505 COLOR 11+15,0,0:PRINT"FOR SHIP FROM ANCHORAGE TO SFO PRESS Z ":COLOR0,3510 COLOR 13,0,0:PRINT " HOUSTON TO LAGOS ON ATANKER..................... ..... G":COLOR 0,3515 COLOR 13,0,0:PRINT " TANKER LOAD 300,000 TONS":COLOR 0,3
  3. 3. 520 COLOR 10,0,0:PRINT" DEPARTURES FROM HOUSTON----------------------------------- N":COLOR 0,3525 COLOR 13,0,0:PRINT " LON DEPARTURE PRESS V FOR TYODEPARTURE.................. Y":COLOR 0,3530 COLOR 11+16,13,0:PRINT"ENTER P for Plane AND S for Ship ":COLOR 0,3535 COLOR 13,0,0:PRINT" ZONESHNL,TYO,LONDON,MOSCOW,ATHENS,PARIS,SFO,DENVER,NVL,NYC,MIDWAY,NOME,PRINCE(RUPERT),CAYENNE,GREENLAND,AZORES,DAKAR,OMAN,BOMBAY,CALCUTTA,SINGAPORE,BEIJING,GUINEA(NEW),CALEDONIA(NEW),WAKE(ISLAND)":COLOR 0,3540 COLOR 10,0,0:PRINT"EASTERN CO-ORDINATES ARE 360 MINUS LONGITUDE:NEGATIVENUMBERS CAN BE USED":COLOR 0,3545 IF D3>104 AND D3<300 THEN 555550 COLOR 14,0,0:PRINT DATE$ ,TIME$" ";B1$" CENTRAL STANDARD TIME ":COLOR0,3:GOTO 565555 COLOR 14,0,0:PRINT DATE$ ,TIME$" DAYLIGHT SAVINGS TIME - CENTRAL TIMEZONE" :COLOR 0,3560 D = DAY :M = MONTH:Y=YEAR565 COLOR 0,3:K1$ = INKEY$570 IF K1$ = "" THEN 565575 IF K1$ ="V" THEN I$ ="LON":K$ = "PLANE":CLS:GOTO 710580 IF K1$="S" THEN I$="SHIP":GOTO 645585 IF K1$="D" THEN I1$ = "PL":K$="SHIP":GOTO 1455590 IF K1$ ="N" THEN I$ ="HOUSTON":K$ = "PLANE":CLS:GOTO 685595 IF K1$ = "P" THEN I$ = "PLANE":GOTO 645600 IF K1$ = "O" THEN I$ = "HOUSTON":I$="SHIP":GOTO 720605 IF K1$ = "M" THEN I2$ = "GOMAX550":I$="SHIP":GOTO 715610 IF K1$ ="C" THEN I2$ = "OIL TANKER":I$ = "SHIP":GOTO 645615 IF K1$ ="T" THEN I$ ="CAPE TOWN":K$ = "SHIP":CLS:GOTO 690620 IF K1$ ="7" THEN I2$ = "747" :I$ = "PLANE":GOTO 645625 IF K1$ = "G" THEN I$ = "HOUSTON":K$="SHIP":I2$="TANKER":GOTO 695630 IF K1$ = "H" THEN I$ = "HOUSTON":K$="SHIP":GOTO 700635 IF K1$ = "R" THEN I$ = "CAIRO":K$="SHIP":GOTO 705640 IF K1$ = "Z" THEN I$ = "ANCHORAGE":K$="SHIP":GOTO 730645 REM650 IF I$="PLANE" THEN K$="PLANE":GOTO 735655 IF I$="SHIP" THEN K$="SHIP":GOTO 735660 CLS:K$="PLANE"665 K$="SHIP"670 GOTO 740675 GOTO 725680 CLS: PRINT STRING$(80,"*")685 CLS:X$ = "HOUSTON" : GOTO 760690 CLS:X$ = "CAPE TOWN": GOTO 760695 CLS:X$ ="HOUSTON" : GOTO 760700 X$="HOUSTON":GOTO 760705 X$="CAIRO":GOTO 760710 CLS:X$="LON":GOTO 760715 CLS:X$="GULF":GOTO 760720 CLS:X$ ="HOUSTON" : GOTO 760725 CLS:X$="HOUSTON":GOTO 760730 CLS:X$="ANCHORAGE":GOTO 760735 PRINT STRING$(80,"*")740 PRINT"ENTER FIRST LOCATION"745 REM750 RESTORE755 INPUT X$760 REM
  4. 4. 765 FOR I = 1 TO 92770 READ C$775 READ R,L780 IF C$ <> X$ THEN 850785 IF I1$="PL" THEN 795790 J=3965.8795 REM800 M = .01745805 PRINT C$810 C1$=C$815 PRINT R820 N1= R*M825 R0=R830 RR=R835 PRINT L840 T1=L*M845 SS=L850 NEXT I855 RESTORE860 IF R0>180 AND R0<320 THEN Q1=-1865 IF R0=0 THEN R0=0:R00=0:GOTO 1095870 IF R0=<1.5 THEN R0=0:R00=0:GOTO 1095875 IF R0=>358.5 THEN R0=0:R00=0:QP=2 : GOTO 1095880 IF R0=>7.5 AND R0<22.5 THEN R0=-1:R00=-1:RD=-1:PQ=2: GOTO 1095885 IF R0=>22.5 AND R0<37.5 THEN R0=-2:R00=-2:RD=-2: GOTO 1095890 IF R0=>37.5 AND R0<52.5 THEN R0=-3:R00=-3:RD=-3: GOTO 1095895 IF D3>ZN AND D3<ZM THEN 905900 VY$="CST":GOTO 910 : REM NAME OF TIME ZONE FOR CHICAGO ZONE905 VY$="CDT"910 IF D3>ZN AND D3<ZM THEN 920915 IF R0=>52.5 AND R0=<67.5 THEN R0=-4:R00=-4:RD=-4:VI$=" AST":GOTO 1095920 IF R0=>52.5 AND R0=<67.5 THEN R0=-3:R00=-4:RD=-4:VI$=" ADT":GOTO 1095925 IF D3>ZN AND D3<ZM THEN 935930 IF R0=>67.5 AND R0<85 THEN R0=-5:R00=-5:RD=-5:VI$=" EST": GOTO 1095935 IF R0=>67.5 AND R0<85 THEN R0=-4:R00=-5:RD=-5:VI$=" EDT": GOTO 1095940 IF D3>ZN AND D3<ZM THEN 950945 IF R0=>85 AND R0<103 THEN R0=-6:R00=-6:RD=-6:VI$=" CST": GOTO 1095950 IF R0=>85 AND R0<103 THEN R0=-5:R00=-6:RD=-6:VI$=" CDT": GOTO 1095955 IF D3>ZN AND D3<ZM THEN 965960 IF R0=>103 AND R0<115 THEN R0=-7:R00=-7:RD=-7 :VI$=" MST": GOTO 1095965 IF R0=>103 AND R0<115 THEN R0=-6:R00=-7:RD=-7:VI$=" MDT": GOTO 1095970 IF D3>ZN AND D3<ZM THEN 980975 IF R0=>115 AND R0<125 THEN R0=-8:R00=-8:RD=-8 :VI$=" PST": GOTO 1095980 IF R0=>115 AND R0<125 THEN R0=-7:R00=-8:RD=-8:VI$=" PDT": GOTO 1095985 IF D3>ZN AND D3<ZM THEN 995990 IF R0=>125 AND R0<142.5 THEN R0=-9 :R00=-9:RD=-9 : GOTO 1095995 IF R0=>125 AND R0<142.5 THEN R0=-8 :R00=-9:RD=-9:VI$=" DST": GOTO 10951000 IF D3>ZN AND D3<ZM THEN 10101005 IF R0=>142.5 AND R0<158.5 THEN R0=-10:R00=-10:RD=-10 : GOTO 10951010 IF R0=>142.5 AND R0<158.5 THEN R0=-9:R00=-10:RD=-10:VI$=" DST": GOTO 10951015 IF D3>ZN AND D3<ZM THEN 10251020 IF R0=>158.5 AND R0<172.5 THEN R0=-11 :R00=-11:RD=-11 : GOTO 10951025 IF R0=>158.5 AND R0<172.5 THEN R0=-10 :R00=-11:RD=-11:VI$=" DST": GOTO 10951030 IF R0=>172.5 AND R0<180 THEN R0=-12:R00=-12:RD=-12: GOTO 10951035 IF R0=>180 AND R0<195! THEN R0=+12:R00=12:RD=+12: GOTO 10951040 IF R0=>195! AND R0<202.5 THEN R0=+11:R00=11:RD=+11: GOTO 10951045 IF R0=>202.5 AND R0<217.5 THEN R0=+10 :R00=10:RD=10: GOTO 1095
  5. 5. 1050 IF R0=>217.5 AND R0<232.5 THEN R0=+9 :R00=9:RD=+9: GOTO 10951055 IF R0=>232.5 AND R0<247.5 THEN R0=+8 :R00=8:RD=+8: GOTO 10951060 IF R0=>247.5 AND R0<262.5 THEN R0=+7 :R00=7:RD=+7: GOTO 10951065 IF R0=>262.5 AND R0<277.5 THEN R0=+6 :R00=6:RD=+6: GOTO 10951070 IF R0=>277.5 AND R0<292.5 THEN R0=+5 :R00=5:RD=+5: GOTO 10951075 IF R0=>292.5 AND R0<307.5 THEN R0=+4 :R00=4:RD=+4: GOTO 10951080 IF R0=>307.5 AND R0<322.5 THEN R0=+3 :R00=3:RD=+3: GOTO 10951085 IF R0=>322.5 AND R0<337.5 THEN R0=+2 :R00=2:RD=+2: GOTO 10951090 IF R0=>337.5 AND R0<359 THEN R0 = +1:R00=1: RD=+1: GOTO 10951095 REM1100 IF K1$ ="T" THEN 11501105 IF K1$="G" THEN 11651110 IF K1$="O" THEN 11601115 IF K1$="M" THEN 11501120 IF K1$="H" THEN 11701125 IF K1$="Z" THEN 11751130 IF K1$="R" THEN 11551135 PRINT"INPUT SECOND LOCATION"1140 PRINT"------------------------------------------------":INPUT X$1145 GOTO 11851150 X$ = "HOUSTON":GOTO 11801155 X$ = "GIBRALTAR":GOTO 11801160 X$="CAPE TOWN":GOTO 11801165 X$="LAGOS":GOTO 11801170 X$="PUNTA FIJO":GOTO 11801175 X$="SFO":GOTO 11801180 PRINT"------------------------------------------------"1185 FOR I= 1 TO 921190 READ C$1195 READ R,L1200 IF C$ <> X$ THEN 12551205 PRINT C$1210 C2$=C$1215 PRINT R1220 N2=R*M1225 R2=R1230 MM=R1235 PRINT L1240 UU=L1245 PRINT"------------------------------------------------"1250 T2=L*M1255 NEXT I1260 X1= J*COS(T1)*COS(N1)1265 Y1=J*COS(T1)*SIN(N1)1270 Z1=J*SIN(T1)1275 X2=J*COS(T2)*COS(N2)1280 Y2=J*COS(T2)*SIN(N2)1285 Z2=J*SIN(T2)1290 X=ABS(X1-X2)1295 Y=ABS(Y1-Y2)1300 Z=ABS(Z1-Z2)1305 D=SQR(X^2+Y^2+Z^2)1310 Q=(D/(2*J))1315 S=2*J*ATN(Q/SQR(-Q*Q+1))1320 W=FIX(S):F=ABS(S)-ABS(W)1325 IF F>.5 THEN S=S+11330 IF K$="PLANE" THEN 1360
  6. 6. 1335 IF K$="SHIP" THEN 13601340 IF I$ = "SMALL" THEN 80601345 PRINT"THE DISTANCE BETWEEN ";C1$;" AND ";C2$ " IS "1350 IF I$ = "SMALL" THEN 80601355 PRINT:PRINT INT(S);" STATUTE (LAND)MILES ": PRINT I$ : GOTO 13701360 PRINT "THE DISTANCE BETWEEN ";C1$;" AND ";C2$;" IS "1365 PRINT:PRINT INT(S*.867)" NAUTICAL MILES " INT(S)" STATUTE MILES":GOTO 13701370 REM1375 DATA NYC,73.98,40.751380 DATA ASCENSION,15,-81385 DATA MALDIVE,287,31390 DATA EASTER ISLAND,110,-321395 DATA NVL,87,361400 DATA ZULU,1,01405 DATA GIBRALTAR,5,361410 DATA CALCUTTA,272,221415 DATA MIDWAY,176,291420 DATA NASSAU,77,251425 DATA TANGO,195,01430 DATA FIJI,182,-181435 DATA NEW CALEDONIA,195,-211440 DATA OMAN,295,201445 DATA ALPHA,0,01450 DATA BRAVO,15,01455 DATA HAMILTON,65,321460 DATA TYO,220.25,35.751465 DATA LOS ANGELES,118.23,34.051470 DATA MOBILE,88.10,30.601475 DATA D.C.,77,391480 DATA HONG KONG,245,22.51485 DATA SEYCHELLES,305,-51490 DATA ATHENS,336,381495 DATA PAR,358,491500 DATA TRIPOLI,347,331505 DATA LON,0,511510 DATA DELTA,45,01515 DATA ECHO,60,01520 DATA FOXTROT,75,01525 DATA GOLF,90,01530 DATA HOTEL,126.589,01535 DATA CAPE TOWN,341,-341540 DATA ACAPULCO,100,16.31545 DATA NEW ORLEANS,90,301550 DATA CHARLIE,30,01555 DATA MIAMI,80,261560 DATA TAMPA,82,281565 DATA PANAMA CITY,79,91570 DATA SFO,123,381575 DATA SAN DIEGO,117,331580 DATA AZORES,30,371585 DATA SANTIAGO,71,-341590 DATA NORFOLK,76,371595 DATA TRIESTE,346.5,541600 DATA HNL,156.9,211605 DATA CHARLESTON,80,331610 DATA CAYENNE,63,71615 DATA TRISTAN DE CUNHA,13,-36
  7. 7. 1620 DATA ST.HELENA,6,-171625 DATA MOW,321.9,561630 DATA SYDNEY,209,-341635 DATA TEHRAN,309,361640 DATA MARQUESAS,139,81645 DATA NEW GUINEA,215,21650 DATA BEIJING,244,401655 DATA SINGAPORE,256,11660 DATA NOME,166,651665 DATA VANCOUVER,128,491670 DATA CANCUN,86.3,21.41675 DATA MIKE,179,01680 DATA RIO ,42,-231685 DATA LUANDA,347,-91690 DATA DAKAR,17,151695 DATA CHI,88,421700 DATA PENSACOLA,87,311705 DATA ALEXANDRIA,330,311710 DATA SOLOMON ISLANDS,207,-51715 DATA BAGHDAD,314.2,33.71720 DATA TAHITI,149,-171725 DATA FREEPORT,78,241730 DATA TEL AVIV,325,32.31735 DATA SEOUL,233,371740 DATA VIRGIN ISLANDS,65,181745 DATA NORTH POLE,0,901750 DATA SOUTH POLE,0,-901755 DATA SAVANNAH,81,321760 DATA WAKE ISLAND,186.9,191765 DATA LAGOS,356.8,6.21770 DATA PUNTA FIJO,70.2,121775 DATA CROSSVILLE,85.05,35.91780 DATA HOUSTON,95.3,301785 DATA KNOXVILLE,84,35.81790 DATA SAN JUAN,66,191795 DATA GALVESTON,95,291800 DATA SEATTLE,122,481805 DATA BOMBAY,287,191810 DATA CAIRO,328,301815 DATA ROME,347,42.51820 DATA ATLANTA,84,341825 DATA ANCHORAGE,150,611830 DATA GULF,90,201835 PRINT1840 PRINT DATE$,TIME$;B1$:PRINT " CST TIME ZONE -6 "1845 HOUR = VAL(TIME$)1850 MIN = VAL(MID$(TIME$,4))1855 IF I$="NVL" THEN GOTO 19151860 PRINT"FOR PRESENT TIME INPUT T FOR OTHER TIME PRESS ENTER";T$1865 P1$ = INKEY$1870 IF P1$= "" THEN 18651875 IF P1$= "T" THEN 1915 ELSE 18851880 IF T$ ="T" THEN 37051885 COLOR 9,0,0:PRINT"LEAVING TIME HOURS FIRST THEN MINUTES THEN SECONDS":COLOR 0,31890 PRINT STRING$(80,"-")1895 INPUT H0
  8. 8. 1900 INPUT M01905 S0 = VAL(RIGHT$(TIME$,2))1910 GOTO 19351915 H0= HOUR1920 M0 = MIN1925 S0 = VAL(RIGHT$(TIME$,2))1930 B0$ = B1$ :GOTO 19501935 PRINT"====================================================="1940 PRINT"TYPE AM OR PM"1945 INPUT B0$1950 REM1955 IF H = 12 AND B0$ ="AM" THEN B$ = "PM" : GOTO 19651960 IF H = 12 AND B0$ ="PM" THEN B$ = "AM"1965 PRINT"====================================================="1970 IF I2$ ="CONCORDE" THEN I = 1151:GOTO 20651975 IF I2$ ="747" THEN I = 530 : GOTO 20651980 IF I2$="TORNADO" THEN I = 1452 : GOTO 20651985 IF I2$="LEAR JET" THEN I = 512 : GOTO 20851990 IF I2$="USSR SST" THEN I = 1550 : GOTO 20651995 IF I2$="F-15 EAGLE" THEN I = 1875 : GOTO 20652000 IF I2$="MIG-29" THEN I = 1650 : GOTO 20652005 IF I2$="F-14 TOMCAT" THEN I = 1750 : GOTO 20652010 IF I2$="MIG-23" THEN I = 1500 : GOTO 20652015 IF I$="SUNTIME" THEN I=1037 : GOTO 21852020 IF I2$="MIRAGE F1-E" THEN I = 1650 : GOTO 20652025 IF I2$="LEAR JET" THEN GOTO 21202030 IF K$="PLANE" THEN 2040 ELSE 20352035 PRINT"INPUT KNOTS":GOTO 20452040 PRINT"INPUT SPEED M.P.H." :GOTO 20502045 K$="SHIP"2050 INPUT I2055 II = I2060 GOTO 21452065 PRINT"-----------------------------------------------------------"2070 IF K1$ = "G" THEN 21452075 IF K1$="T" THEN 21452080 REM2085 PRINT"INPUT REVENUE PER MILE"2090 INPUT W2095 PRINT"==========================================================="2100 IF K1$="J" THEN 21202105 PRINT"INPUT MILES PER TON"2110 INPUT W12115 WW = S / W12120 PRINT"----------------------------------------------------------"2125 IF K1$="J" THEN 21352130 PRINT"INPUT COST PER GALLON" : GOTO 48702135 PRINT"INPUT COST PER TON "2140 INPUT W22145 PRINT STRING$(80,"-")2150 PRINT DATE$; " C.S.T. COMPUTER DATE = " ;D32155 INPUT"IF COMPUTER DATE IS TODAYS DATE INPUT J ELSE PRESS ENTER";T3$2160 IF T3$ = "J" THEN 21752165 PRINT"INPUT COMPUTER DATE"2170 INPUT T3:GOTO 21802175 T3 = D3
  9. 9. 2180 REM2185 GOSUB 31752190 T = T0+(S/I)2195 GOTO 25552200 PRINT2205 H=H-122210 REM2215 IF H>12 THEN 22052220 E = S/I2225 L = INT(E) :K1=60*(E-L):K=INT(K1):K3= K1 -K2230 KL=K2235 IF H=0 THEN H=122240 IF BB =2 THEN 2245 ELSE 22602245 IF B0$="AM" THEN B0$="PM"2250 IF H<> 12 AND B$="PM" THEN B$="AM" :GOTO 22602255 IF H<> 12 AND B$="AM" THEN B$="PM" :GOTO 22602260 IF H <> 12 THEN 22702265 SCREEN 2:M1=S/W:M2=WW*W2:LOCATE 11,65:PRINT"TOTAL MILES":VIEWSCREEN(520,93)-(600,103),,2:LOCATE 13,66:PRINT S :VIEW SCREEN(450,4)-(600,15),,2:LOCATE 2,63:PRINT I2$ :VIEW SCREEN(200,40)-(600,47),,2 :LOCATE6,45:PRINT DATE$,TIME$" C.S.T"2270 IF K >59 THEN 2275 ELSE 22802275 L = L + 1 : K = K - 602280 REM2285 GOTO 22952290 M8 = M8 - 60 : M4 = M4+1:GOTO 23052295 IF M8>59 THEN 2290 ELSE 23052300 M5 = M5 - 60 : M =M + 1 : GOTO 23152305 M5 = M4 + S02310 IF M5 > 59 THEN 23002315 IF M>59 THEN M = M - 60: H = H+ 12320 LI = L2325 IF H = 12 THEN GOTO 5430 ELSE 23602330 LI = LI - 12:B$="PM":GOTO 23402335 LI = LI - 12:B$="AM":GOTO 23402340 REM2345 IF LI > 20 THEN 2350 ELSE 23602350 IF B$ ="AM" THEN GOTO 23302355 IF B$ ="PM" THEN GOTO 23352360 REM2361 IF I2$="GOMAX550" THEN GOTO 23642362 INPUT" TONS OF CRUDE";TN : INPUT" $ per barrel";BL:GOTO 23652364 TN = 92436.98 : INPUT" $ per barrel";BL2365 HH=H:MA=M:IU=K2370 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$2375 LOCATE 11,5:PRINT"TRAVEL TIME":VIEW SCREEN(15,93)-(200,103),,2 :LOCATE13,4:PRINT L;"HOURS ";K" MIN":LOCATE 11,43 :PRINT"SPEED":VIEW SCREEN(300,93)-(400,103),,2 :LOCATE 13,39:PRINT ;I"KNOTS" :O=S*W2380 L9 = L :II = I2385 K9 = K2390 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:LOCATE
  10. 10. 2,63:PRINT I2$ :VIEW SCREEN(200,40)-(600,47),,2 :LOCATE 6,45:PRINT DATE$,TIME$"C.S.T"2395 LOCATE 6,30:PRINT J$(Z11):VIEW SCREEN(450,125)-(600,135),,2:LOCATE17,60:PRINT "$";TN * 5.95 * BL2400 LOCATE 15,4:PRINT"COST PER BARREL":LOCATE 15,33:PRINT"TONS HAULED" :VIEWSCREEN(15,126)-(100,136),,2:LOCATE 17,3:PRINT "$"BL; :VIEWSCREEN(250,126)-(400,136),,2:LOCATE 17,33:PRINT TN"TONS" :LOCATE15,63:PRINT"FUEL DOLLARS"2405 REM2410 J1=L:J2=(K/60):J3=J1+J2:J4=J3*1370:LOCATE 19,3:PRINT"TANKER FUEL FLOWTONS":LOCATE 19,34:PRINT"BARRELS HAULED" :VIEW SCREEN(15,156)-(100,167),,2:LOCATE 21,3:PRINT J1*2.5 :VIEW SCREEN(250,156)-(400,167),,2:LOCATE21,33:PRINT (TN * 5.95)2415 LOCATE 19,60:PRINT"TANKER FUEL COST":VIEW SCREEN(450,156)-(550,167),,2:LOCATE 21,58:PRINT "$"J1* 625 * 1.32420 PRINT2425 PRINT"PRESS ANY KEY TO CONTINUE"2430 K$ = INKEY$ : IF K$ = "" THEN 24302435 IF K1$="J" THEN J2 = E * 13702440 E= S/I2445 L = INT(E)2450 K1=60*(E-L)2455 K=INT(K1)2460 K3 = K1 - K2465 J1 = L : J2 = (K/60) : J3 = J1 + J22470 J4 = J3 * 13702475 O=S*W2480 W0=FIX(D):F0=ABS(D)-ABS(W0)2485 IF K1$="G" THEN 25202490 IF K1$="T" THEN 25202495 REM2500 REM2505 IF K1$ ="J" THEN 25152510 M1 = S/W1:M2 = M1*W22515 IF K1$ ="J" THEN 58302520 REM2525 GOSUB 32102530 REM2535 REM2540 DAY = VAL(MID$(DATE$,4))2545 MONTH$=(LEFT$(DATE$,2)):MO = VAL(MONTH$)2550 GOTO 35052555 GOSUB 25602560 H=INT(T)2565 M1=60*(T-H)2570 M=INT(M1)2575 M3 = 60 *(M1-M)2580 M4 = INT(M3)2585 M7 = 60 *(M3-M4)2590 M8 = INT(M7)2595 IF N2>N1 THEN U=N2-N12600 IF N2<N1 THEN V=N1-N22605 IF V>0 GOTO 29452610 IF R2>180 AND R2<320 THEN Q1=12615 IF R2=<7.5 AND R2>359 THEN 27402620 IF R2>7.5 AND R2<22.5 THEN 2745
  11. 11. 2625 IF R2=>22.5 AND R2<37.5 THEN 27502630 IF R2=>37.5 AND R2<52.5 THEN 27552635 IF R2=>52.5 AND R2<67.5 THEN 27602640 IF R2=>67.5 AND R2=<85 THEN 27752645 IF R2=>85 AND R2<103 THEN 27902650 IF R2=>103 AND R2<115 THEN 28052655 IF R2=>115 AND R2<125 THEN 28202660 IF R2=>125 AND R2<142.5 THEN 28352665 IF R2=>142.5 AND R2<158.5 THEN 28502670 IF R2=>158.5 AND R2<172.5 THEN 28652675 IF R2=>172.5 AND R2<180 THEN 28802680 IF R2=>180 AND R2<187.5 THEN 28852685 IF R2=>187.5 AND R2<202.5 THEN 28902690 IF R2=>202.5 AND R2<217.5 THEN 28952695 IF R2=>217.5 AND R2<232.5 THEN 29002700 IF R2=>232.5 AND R2<247.5 THEN 29052705 IF R2=>247.5 AND R2<262.5 THEN 29102710 IF R2=>262.5 AND R2<277.5 THEN 29152715 IF R2=>277.5 AND R2<292.5 THEN 29202720 IF R2=>292.5 AND R2<307.5 THEN 29252725 IF R2=>307.5 AND R2<322.5 THEN 29302730 IF R2=>322.5 AND R2< 337.5 THEN 29352735 IF R2=>337.5 AND R2<359 THEN 29402740 R1$=" TIME ZONE 0 ":QP=1:R2 = 0:R22=0:GOTO 30802745 R1$=" TIME ZONE -1 ":PQ=1:R2=-1:R22=-1: GOTO 30802750 R1$=" TIME ZONE -2 ":R2=-2:R22=-2:GOTO 30802755 R1$=" TIME ZONE -3 ":ZONE$="GREENLAN.BAS":R2=-3:R22=-3:GOTO 30802760 IF D3>ZN AND D3<ZM THEN 27702765 R1$=" TIME ZONE -4 AST":R2=-4:R22=-4:GOTO 30802770 R1$=" TIME ZONE -4 ADT":R2=-3:R22=-4:GOTO 30802775 IF D3>ZN AND D3<ZM THEN 27852780 R1$=" TIME ZONE -5 EST":R2=-5:R22=-5:GOTO 30802785 R1$=" TIME ZONE -5 EDT":R2=-4:R22=-5:GOTO 30802790 IF D3>ZN AND D3<ZM THEN 28002795 R1$=" TIME ZONE -6 CST":ZONE$="NVL.BAS":R2=-6:R22=-6:GOTO 30802800 R1$=" TIME ZONE -6 CDT":ZONE$="NVL.BAS":R2=-5:R22=-6:GOTO 30802805 IF D3>ZN AND D3<ZM THEN 28152810 R1$=" TIME ZONE -7 MST":R2=-7:R22=-7:GOTO 30802815 R1$=" TIME ZONE -7 MDT":R2=-6:R22=-7:GOTO 30802820 IF D3>ZN AND D3<ZM THEN 28302825 R1$=" TIME ZONE -8 PST":R2=-8:R22=-8:GOTO 30802830 R1$=" TIME ZONE -8 PDT":R2=-7:R22=-8:GOTO 30802835 IF D3>ZN AND D3<ZM THEN 28452840 R1$=" TIME ZONE -9 ":R2=-9:R22=-9:GOTO 30802845 R1$=" TIME ZONE -9 DST":R2=-8:R22=-9:GOTO 30802850 IF D3>ZN AND D3<ZM THEN 28602855 R1$=" TIME ZONE -10 ":R2=-10:R22=-10:GOTO 30802860 R1$=" TIME ZONE -10 DST":R2=-9:R22=-10:GOTO 30802865 IF D3>ZN AND D3<ZM THEN 28752870 R1$=" TIME ZONE -11 ":R2=-11:R22=-11:GOTO 30802875 R1$=" TIME ZONE -11 DST":R2=-10:R22=-11:GOTO 30802880 R1$=" TIME ZONE -12 ":R2=-12:R22=-12:GOTO 30802885 R1$=" TIME ZONE +12 ":R2=+12:R22=+12:GOTO 30802890 R1$=" TIME ZONE +11 ":R2=+11:R22=+11:GOTO 30802895 R1$=" TIME ZONE +10 ":R2=+10:R22=+10:GOTO 30802900 R1$=" TIME ZONE +9 ":R2=+9:R22=9:GOTO 30802905 R1$=" TIME ZONE +8 ":R2=+8:R22=8:GOTO 3080
  12. 12. 2910 R1$=" TIME ZONE +7 ":R2=+7:R22=7:GOTO 30802915 R1$=" TIME ZONE +6 ":R2=+6:R22=6:GOTO 30802920 R1$=" TIME ZONE +5 ":R2=+5:R22=5:GOTO 30802925 R1$=" TIME ZONE +4 ":R2=+4:R22=4:GOTO 30802930 R1$=" TIME ZONE +3 ":R2=+3:R22=3:GOTO 30802935 R1$=" TIME ZONE +2 ":R2=+2:R22=2:GOTO 30802940 R1$=" TIME ZONE +1 ":R2=+1:R22=1:GOTO 30802945 IF R2>180 AND R2<320 THEN Q1=-12950 IF R2=0 THEN 27402955 IF R2=<7.5 AND R2>359 THEN 27402960 IF R2=>7.5 AND R2<22.5 THEN 27452965 IF R2=>22.5 AND R2<37.5 THEN 27502970 IF R2=>37.5 AND R2<52.5 THEN 27552975 IF R2=>52.5 AND R2=<67.5 THEN 27602980 IF R2=>67.5 AND R2<85 THEN 27752985 IF R2=>85 AND R2<103 THEN 27902990 IF R2=>103 AND R2<115 THEN 28052995 IF R2=>115 AND R2=<127.5 THEN 28203000 IF R2=>127.5 AND R2<142.5 THEN 28353005 IF R2=>142.5 AND R2<158.5 THEN 28503010 IF R2=>158.5 AND R2<172.5 THEN 28653015 IF R2=>172.5 AND R2<180 THEN 28803020 IF R2=>180 AND R2<195! THEN 28853025 IF R2=>187.5 AND R2<202.5 THEN 28903030 IF R2=>202.5 AND R2<217.5 THEN 28953035 IF R2=>217.5 AND R2<232.5 THEN 29003040 IF R2=>232.5 AND R2<247.5 THEN 29053045 IF R2=>247.5 AND R2<262.5 THEN 29103050 IF R2=>262.5 AND R2<277.5 THEN 29153055 IF R2=>277.5 AND R2<292.5 THEN 29203060 IF R2=>292.5 AND R2<307.5 THEN 29253065 IF R2=>307.5 AND R2<322.5 THEN 29303070 IF R2=>322.5 AND R2<337.5 THEN 29353075 IF R2=>337.5 AND R2<359 THEN 29403080 REM3085 IF V => 0 THEN 3090 ELSE 30953090 H = H + (R2-R0) : GOTO 31003095 H = H - (R2-R0) : GOTO 31003100 H = ABS(H)3105 IF H=12 AND R2 => -12 THEN B$="PM" :GOTO 3170 ELSE 31103110 IF H=12 AND B0$="AM" THEN B$="PM" ELSE B$="AM"3115 IF H= 24 THEN H=H-12:GOTO 31503120 IF H0=12 THEN 3145:IF H=24 THEN H=H-123125 IF H> 12 THEN 3130 ELSE 31703130 IF B$="PM" THEN 3135 ELSE 31403135 B$ = "AM" : H=H-12: GOTO 31253140 B$="PM":H=H-12:GOTO 31253145 H=H-12:IF H>12 THEN 3125 ELSE 31703150 IF B0$ ="PM" THEN 3155 ELSE 31603155 IF B0$="PM" THEN B$="AM" : GOTO 31703160 IF H=0 THEN 3165 :IF B0$="AM" THEN B$="PM" : GOTO 31703165 IF B0$="AM" THEN B$="AM" ELSE B$="PM"3170 GOTO 22103175 T0=H0+M0/603180 IF R0>7 AND H0=12 AND B0$="PM" THEN 3205 ELSE 31853185 IF R0>7 AND H0=<2 AND B0$="PM" THEN 3205 ELSE 31903190 IF B0$="PM" THEN LET T0=T0+12: RETURN
  13. 13. 3195 IF B0$="AM" THEN LET T0=T0+123200 IF B0$="AM" THEN LET T0=T0+12: RETURN3205 B0$="AM" :BB=2:GOTO 31903210 REM3215 DIM N1(13)3220 FOR KL=1 TO 13:READ N1(KL):NEXT KL3225 DATA 0,31,59,90,120,151,1813230 DATA 212,243,273,304,334,3653235 DIM N$(12)3240 FOR KL= 1 TO 12:READ N$(KL):NEXT KL3245 DATA JAN,FEB,MAR,APR,MAY,JUN3250 DATA JUL,AUG,SEP,OCT,NOV,DEC3255 FOR N = 1 TO 123260 IF T3>365 THEN T3=T3-3653265 IF T3<(N1(N+1)+1) THEN GOTO 32753270 NEXT N3275 D0=T3-N1(N)3280 RETURN3285 REM3290 T4= D4 + T33295 DIM M1(13)3300 FOR I = 1 TO 13 : READ M1(I) : NEXT I3305 DATA 0,31,59,90,120,151,1813310 DATA 212,243,273,304,334,3653315 DIM M$(12)3320 FOR I = 1 TO 12 : READ M$(I): NEXT I3325 DATA JAN,FEB,MAR,APR,MAY,JUN3330 DATA JUL,AUG,SEP,OCT,NOV,DEC3335 A3=YEAR3340 FOR M = 1 TO 123345 IF T4>365 THEN A3 = A3 + 13350 IF T4 > 365 THEN T4 = T4 - 3653355 IF T4<(M1(M+1)+1) THEN GOTO 33703360 IF T4 > 365 THEN GOTO 33453365 NEXT M3370 D4=T4-M1(M)3375 RETURN3380 REM3385 REM3390 IF A3 = 0 THEN 34003395 Y = A3:GOTO 34053400 Y = YEAR3405 D4 = INT(D4)3410 D=D43415 LET J$(1) = "SUNDAY"3420 LET J$(2) = "MONDAY"3425 LET J$(3) = "TUESDAY"3430 LET J$(4) = "WEDNESDAY"3435 LET J$(5) = "THURSDAY"3440 LET J$(6) = "FRIDAY"3445 LET J$(7) = "SATURDAY"3450 LET K = INT(.6 +(1/M))3455 LET L5 = Y - K3460 LET O = M + 12*K3465 LET P = L5/1003470 LET Z1 = INT(P/4)3475 LET Z2 = INT(P)
  14. 14. 3480 LET Z3 = INT((5*L5)/4)3485 LET Z4 = INT(13*(O+1)/5)3490 LET Z= Z4+Z3-Z2+Z1+D4-13495 LET Z = Z-(7*INT(Z/7))+13500 RETURN3505 REM3510 REM3515 SCREEN 8:CLS:KEY OFF:COLOR 3,43520 IF I1$="PL" THEN GOTO 35803525 LOCATE 4,50:PRINT I2$3530MAPAF$="U20H2U7H1U8HL10H4L15H5L10U3L20H10E20R15F6R35F4R5F6R7D2R18F15G8D15G15D3G10L3D1L3H2L4G2L2H4U1"3535 PSET(338,142),2:DRAW MAPAF$ :PAINT(341,140),CHR$(&H90)3540MAPAU$="S5U25L3U1L5U2L4U1L4U1L6U2L5G5L3G1L4G1L3G1L4G2L5G1L4G2L5G1L6D17R9U1R5U1R5U1R5U1R4U1R6F10R8U2R7U2R153545 LOCATE 2,40: PRINT L9;"HOURS" K9;"MINUTES";M4;"SECONDS";"."M83550MAPSA$="U1L2U1L3H3L3U1H2L4U1H2H3L3U3H3L3U1L3U1L3H2L1U1H2L4L1L2L3H1L3H1L5L1L5G5LD3G4D1G3D3G3F15D25F12E25R4E8R2E7R3E63555 LOCATE 18,2:PRINT HH":";MA;":"M5;M83560 PSET(240,120),2:DRAW MAPSA$ :PAINT(241,120),CHR$(&H85)3565 LINE(35,15)-(35,125),33570 MAPUS$="NM+40,+20H6U30L9G4L13U21R230D6G5D1L25D3G4L6G4L15G5L10D3L5G1L7G1L7D1L7D1L7D1L4D1L6G5L7D5G2L2D1L2H2U5L3G3L13G3D3R4E1R3F1D5L9G3F13R3F4R5F3L9H6L53575 PSET(100,83),2:DRAW MAPUS$ :PAINT(100,101),CHR$(&H45)3580 LINE(60,15)-(60,125),33585 LINE(85,15)-(85,125),33590 LOCATE 18,2:PRINT HH":";MA;":"M5;M83595 LINE(110,15)-(110,125),13600 LINE(60,15)-(60,125),13605 LINE(135,15)-(135,125),13610 LINE(10,15)-(610,15),1 : REM LATITUDE LINES3615 LINE(10,25)-(610,25),1 : REM LATITUDE LINES3620 LINE(10,35)-(610,35),1 : REM LATITUDE LINES3625 LINE(10,45)-(610,45),1 : REM LATITUDE LINES3630 LINE(10+L6,15)-(10+L6,350),13635 FOR L6= 80 TO 550 STEP 253640 LINE(80+L6,15)-(80+L6,250),13645 NEXT L63650 LINE(308,15)-(308,350),33655 LINE(10,75)-(610,75),1 : REM LATITUDE LINES3660 LINE(10,55)-(610,55),13665 LINE(10,45)-(610,45),13670 LINE(10,105)-(610,105),3 :REM EQUATOR3675 LINE(10,125)-(610,125),1 :REM EQUATOR3680 LINE(10,115)-(610,115),13685 LINE(10,105)-(610,105),13690 LINE(10,95)-(610,95),13695 LINE(10,85)-(610,85),13700 LINE(10,65)-(610,65),13705 LINE(160,135)-(610,135),13710 LINE(160,145)-(610,145),13715 LINE(160,155)-(610,155),1
  15. 15. 3720 LINE(160,165)-(610,165),13725 LINE(160,175)-(610,175),13730 LINE(160,185)-(610,185),13735 LINE(160,195)-(610,195),13740 LINE(10,199)-(610,199),13745 LINE(10,105)-(610,105),3 : REM EQUATOR3750 LOCATE 2,40: PRINT L9;"HOURS" K9;"MINUTES";M4;"SECONDS";"."M83755 MAPUS$="NM+40,+20H6U30L9G4L13U21R230D6G5D1L25D3G4L6G4L15G5L10D3L5G1L7G1L7D1L7D1L7D1L4D1L6G5L7D5G2L2D1L2H2U5L3G3L13G3D3R4E1R3F1D5L9G3F13R3F4R5F3L9H6L53760 PSET(545,155),23765 REM3770 LOCATE 1,9:PRINT"DEP "N$(N);(INT(D0)) YEAR3775 IF R22 = R00 THEN GOTO 8275 REM SAME TIME ZONE3780 IF I1$="PL" THEN 82753785 IF R00>=-6 AND R00 <0 AND R22>5 THEN OPEN "NVLCAL.TXT$" FOR INPUT AS#1:CLOSE #13790 IF R00>=-6 AND R00 <0 AND R22=>0 AND R22<6 THEN OPEN "NVLLON.TXT$"FOR INPUTAS #1:CLOSE #13795 IF R00>=6 AND R00 <10 AND R22<-5 THEN OPEN"TYONVL.TXT$" FOR INPUT AS#1:CLOSE #13800 IF R00>9 AND R22=<-6 THEN OPEN "WAKMID.TXT$" FOR INPUT AS #1:CLOSE #13805 IF R00=>0 AND R00<6 AND R22=>-6 AND R22<0 THEN OPEN "LONNVL.TXT$" FOR INPUTAS #1 :CLOSE #13810 IF R00<-6 AND R22 =>6 THEN OPEN "MIDCAL.TXT$" FOR INPUT AS #1:CLOSE #13815 IF R00<-9 AND R22=>0 AND R22<6 THEN OPEN "MIDLON.TXT$" FOR INPUT AS#1:CLOSE #13820 IF R00>-10 AND R00<-6 AND R22=>0 AND R22<6 THEN OPEN "DENLON.TXT$" FORINPUT AS #1 : CLOSE #13825 IF R00>0 AND R00<6 AND R22=>0 AND R22 <6 THEN OPEN "BOMLON.TXT$" FOR INPUTAS #1 :CLOSE #13830 IF R00<-6 AND R22<0 AND R22>-7 THEN OPEN "MIDDAK.TXT$" FOR INPUT AS#1:CLOSE #13835 IF R00=<0 AND R00>-7 AND R22=<-7 THEN OPEN "LONMID.TXT$" FOR INPUT AS#1:CLOSE #13840 IF R00=<-7 AND R22=<-7 AND R00<R22 THEN OPEN "MIDDEN.TXT$" FOR INPUT AS#1:CLOSE #13845 IF R00=<-7 AND R22=<-7 AND R00>R22 THEN OPEN "DENMID.TXT$" FOR INPUT AS#1:CLOSE #13850 IF R00=>0 AND R00<6 AND R22 <6 AND R22>0 THEN OPEN "LONBOM.TXT$" FOR INPUTAS #1:CLOSE #13855 IF R00=>0 AND R00<6 AND R22 >5 THEN OPEN "LONCAL.TXT$" FOR INPUT AS#1:CLOSE #13860 IF R00=>0 AND R00<6 AND R22=<-7 THEN OPEN "PARMID.TXT$" FOR INPUT AS #1 :CLOSE #13865 IF R00>5 AND R22>5 THEN OPEN "WAKCAL.TXT$" FOR INPUT AS #1:CLOSE #13870 IF R00>5 AND R22=>0 AND R22 <6 THEN OPEN "WAKLON.TXT$" FOR INPUT AS#1:CLOSE #13875 IF R00>5 AND R22<0 AND R22>-6 THEN OPEN "WAKDAK.TXT$" FOR INPUT AS#1:CLOSE #13880 IF R00<0 AND R00>=-6 AND R22<0 AND R22=>-6 AND R22>R00 THEN OPEN"NVLDAK.TXT FOR INPUT AS #1:CLOSE #13885 IF R00<0 AND R00>=-6 AND R22<0 AND R22=>-6 AND R00>R22 THEN OPEN"DAKNVL.TXT" FOR INPUT AS #13890 GOTO 82753895 REM3900 D4 = D0
  16. 16. 3905 COLOR 2,0: LOCATE 1,40:PRINT"AR "N$(N);(INT(D4)) YEAR:GOSUB 89003910 GOSUB 32853915 GOTO 40403920 REM3925 D4 = D4 + 1 : GOTO 39753930 D4 = D4 + 2 : GOTO 39753935 D4 = D4 + 3 : GOTO 39753940 D4 = D4 - 1 : GOTO 39753945 IF L < 48 THEN GOTO 39803950 D4 = L9/243955 REM3960 IF D4 > 1460 THEN 3965 ELSE 39753965 DD = D4/1460 : REM LEAP YEAR ADJUSTMENT3970 D4 = D4 + INT(DD)3975 YEARS = D4/3653980 DAYS = D43985 GOSUB 32853990 REM3995 LOCATE 1,40:PRINT "AR "M$(M);(INT(D4));A3:COLOR 1,44000 GOSUB 33854005 GOTO 40204010 GOSUB 32854015 D4 = D0:GOSUB 33854020 GOSUB 89004025 LOCATE 22,5 : PRINT INT(DAYS);" DAYS"4030 LOCATE 2,10:PRINT DATE$:LOCATE 3,60:PRINT II;"MPH "4035 COLOR 2,0:LOCATE 1,60: PRINT J$(Z):GOTO 40504040 LOCATE 1,60:PRINT J$(Z10)4045 LOCATE 22,5 : PRINT INT(DAYS);" DAYS"4050 IF K$="SHIP" THEN 4060 ELSE 40554055 LOCATE 2,1:PRINT DATE$;" "TIME$:LOCATE 3,60:PRINT II" MPH":GOTO 40754060 REM4065 IF K$="PLANE" THEN GOTO 40754070 LOCATE 4,45:PRINT INT(S)"MILES" :LOCATE 2,10:PRINT DATE$:LOCATE 3,60:PRINTII;"KNOTS"4075 LOCATE 4,45:PRINT INT(S)"MILES":IF L=0 AND H = H0 THEN 40904080 LOCATE 1,30:PRINT J$(Z10)4085 LOCATE 2,26:PRINT J$(Z11)4090 IF I1$="PL" THEN GOTO 41104095 GOTO 41054100 LOCATE 4,1 :PRINT FL;" FUEL EXPENSE";RV;" REVENUE"4105 REM4110 LOCATE 3,35:PRINT "ZONE ";RD;VI$;4115 LOCATE 4,1: PRINT YEARS;" YEARS",I$4120 PALETTE 6,34125 IF SS < 0 THEN LL$="LL"4130 SS = ABS(SS)4135 IF RR>180 THEN 41804140 IF RR=0 THEN 4180 ELSE GOTO 41604145 IF LL$ = "LL" THEN 41554150 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 44554155 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 3,1:PRINT C1$;H0":";M0":";S0;B0$:LOCATE 3,40:COLOR2,7:GOTO 44554160 IF LL$ = "LL" THEN 4175
  17. 17. 4165 IF RR>60 THEN 41454170 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 3,1:PRINT C1$;H0":";M0":";":"S0;B0$:COLOR 2,7: GOTO 44554175 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 44554180 IF LL$ = "LL" THEN 4185 ELSE 41904185 IF RR =0 THEN 4385 ELSE 43254190 IF RR =0 THEN 42654195 IF RR=>345 THEN 42704200 IF RR=>315 THEN 42604205 IF RR=>300 THEN 4275 :REM ZONE +3(MOW)4210 IF RR=>285 THEN 42804215 IF RR=>270 THEN 42854220 IF RR=>255 THEN 42904225 IF RR=>240 THEN 42954230 IF RR=>220 THEN 43004235 IF RR=>205 THEN 43054240 IF RR=>195 THEN 43104245 GOTO 43154250 PSET(310-RR*1.6,105-SS),3:CIRCLE(310-RR*1.6,105-SS),5,1:LOCATE SS-(SS-4),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":"S0;B0$:GOTO 44554255 PSET(310-RR*1.6,105-SS),3:CIRCLE(310-RR*1.6,105-SS),5,1:LOCATE SS-(SS-9),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":"S0;B0$:GOTO 44554260 PSET(300+(360-RR*.875),105-SS),3:CIRCLE(300+(360-RR*.875),105-SS),5,1:LOCATE SS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":"S0;B0$:COLOR2,7:VV=2:GOTO 44554265 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 3,1:PRINT C1$;H0":";M0;":"S0;B0$:COLOR 2,7:GOTO 44554270 PSET(300+(360-RR*.95),105-SS),3:CIRCLE(300+(360-RR*.95),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;S0;":";B0$:COLOR 2,7:VV=2:GOTO44554275 PSET(300+(360-RR*.84),105-SS),3:CIRCLE(300+(360-RR*.84),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":"S0;B0$:COLOR 2,7:VV=2:GOTO44554280 PSET(300+(360-RR*.79),105-SS),3:CIRCLE(300+(360-RR*.79),105-SS),5,1:LOCATESS-(SS-4 ),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR2,7:VV=2:GOTO 44554285 PSET(300+(360-RR*.74),105-SS),3:CIRCLE(300+(360-RR*.74),105-SS),5,1:LOCATESS-(SS-4 ),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR2,7:VV=2:GOTO 44554290 PSET(300+(360-RR*.68),105-SS),3:CIRCLE(300+(360-RR*.68),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554295 PSET(300+(360-RR*.57),105-SS),3:CIRCLE(300+(360-RR*.57),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554300 PSET(300+(360-RR*.57),105-SS),3:CIRCLE(300+(360-RR*.57),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554305 PSET(300+(360-RR*.46),105-SS),3:CIRCLE(300+(360-RR*.46),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-55):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554310 PSET(300+(360-RR*.36),105-SS),3:CIRCLE(300+(360-RR*.36),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO4455
  18. 18. 4315 PSET(300+(360-RR*.25),105-SS),3:CIRCLE(300+(360-RR*.25),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-60):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554320 PSET(300+(360-RR*.37),105-SS),3:CIRCLE(300+(360-RR*.37),105-SS),5,1:LOCATESS-(SS-4),RR-(RR-45):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=2:GOTO44554325 IF RR=>345 THEN 43904330 IF RR=>330 THEN 43954335 IF RR=>315 THEN 44454340 IF RR=>300 THEN 44004345 IF RR=>285 THEN 44054350 IF RR=>270 THEN 44104355 IF RR=>255 THEN 44154360 IF RR=>240 THEN 44204365 IF RR=>220 THEN 43004370 IF RR=>205 THEN 44304375 IF RR=>195 THEN 44354380 GOTO 44404385 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 2,7:VV=1:GOTO 44554390 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:GOTO44554395 PSET(300+(360-RR*.91),105+SS),3:CIRCLE(300+(360-RR*.91),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 15,4:PRINT C1$;H0":";M0;":";S0;B0$:COLOR15,4:VV=1:GOTO 44554400 PSET(300+(360-RR*.84),105+SS),3:CIRCLE(300+(360-RR*.84),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554405 PSET(300+(360-RR*.79),105+SS),3:CIRCLE(300+(360-RR*.79),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554410 PSET(300+(360-RR*.74),105+SS),3:CIRCLE(300+(360-RR*.74),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554415 PSET(300+(360-RR*.68),105+SS),3:CIRCLE(300+(360-RR*.68),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554420 PSET(300+(360-RR*.62),105+SS),3:CIRCLE(300+(360-RR*.62),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554425 PSET(300+(360-RR*.68),105+SS),3:CIRCLE(300+(360-RR*.68),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554430 PSET(300+(360-RR*.46),105+SS),3:CIRCLE(300+(360-RR*.46),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554435 PSET(300+(360-RR*.36),105+SS),3:CIRCLE(300+(360-RR*.36),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-55):COLOR 3,2:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554440 PSET(300+(360-RR*.25),105+SS),3:CIRCLE(300+(360-RR*.25),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554445 PSET(300+(360-RR*.88),105+SS),3:CIRCLE(300+(360-RR*.88),105+SS),5,1:LOCATESS-(SS-3),RR-(RR-40):COLOR 3,1:PRINT C1$;H0":";M0;":";S0;B0$:COLOR 2,7:VV=1:GOTO44554450 IF UU < 0 THEN CC$ = "CC"
  19. 19. 4455 IF MM>180 THEN 45454460 IF MM=0 THEN 44804465 IF MM>105 THEN 45154470 IF MM>60 THEN 44954475 GOTO 45104480 IF CC$ = "CC" THEN 44904485 PSET(310-MM*1.65,105-UU),3:CIRCLE(310-MM*1.65,105-UU),5,2:GOTO 48204490 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 48204495 IF CC$="CC" THEN 45054500 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 48204505 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 48204510 IF CC$ = "CC" THEN 45354515 IF CC$="CC" THEN 45254520 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 48204525 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 48204530 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 48204535 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 48204540 REM4545 IF CC$="CC" THEN 46154550 IF MM=>345 THEN 4675 :REM PARIS4555 IF MM=>330 THEN 4685 :REM ATHENS4560 IF MM=>315 THEN 4785 :REM ZONE +24565 IF MM=>300 THEN 4695 :REM ZONE +3(MOW)4570 IF MM=>285 THEN 4705 :REM BOMBAY4575 IF MM=>270 THEN 4715 :REM CALCUTTA4580 IF MM=>255 THEN 4725 :REM SINGAPORE4585 IF MM=>240 THEN 4735 :REM BEIJING4590 IF MM=>225 THEN 4745 :REM4595 IF MM=>205 THEN 4755 :REM TYO4600 IF MM=>195 THEN 4765 :REM4605 GOTO 47754610 GOTO 48004615 IF MM=>345 THEN 46804620 IF MM=>330 THEN 46904625 IF MM=>315 THEN 47904630 IF MM=>300 THEN 47004635 IF MM=>285 THEN 47104640 IF MM=>270 THEN 47204645 IF MM=>255 THEN 47304650 IF MM=>240 THEN 47404655 IF MM=>225 THEN 47504660 IF MM=>205 THEN 47604665 IF MM=>195 THEN 47704670 GOTO 47804675 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 48204680 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 48204685 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 4825
  20. 20. 4690 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 48254695 PSET(300+(360-MM*.84),105-UU),3:CIRCLE(300+(360-MM*.84),105-UU),5,2:LOCATEUU-(UU-8),MM-(MM-53):GOTO 48204700 PSET(300+(360-MM*.84),105+UU),3:CIRCLE(300+(360-MM*.84),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-53):GOTO 48204705 PSET(300+(360-MM*.79),105-UU),3:CIRCLE(300+(360-MM*.79),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-43):GOTO 48204710 PSET(300+(360-MM*.79),105+UU),3:CIRCLE(300+(360-MM*.79),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-43):GOTO 48204715 PSET(300+(360-MM*.74),105-UU),3:CIRCLE(300+(360-MM*.74),105-UU),5,2:LOCATEUU-(UU-9),MM-(MM-53):GOTO 48204720 PSET(300+(360-MM*.74),105+UU),3:CIRCLE(300+(360-MM*.74),105+UU),5,2:LOCATEUU-(UU-22),MM-(MM-43):GOTO 48204725 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 48254730 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 48254735 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 48204740 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 48204745 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 48204750 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 48204755 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 48204760 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 44554765 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 48204770 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 48204775 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 48204780 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 48204785 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 48254790 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 48254795 GOTO 48254800 PSET(300+(360-MM*.25),105-UU),3:GOTO 48204805 PSET(300+(360-MM*.8),105+UU),,34810 IF VV = 1 THEN 48204815 IF VV = 2 THEN 152104820 REM4825 REM4830 VIEW SCREEN(1,1)-(630,35),,14835 IF C2$="NVL" THEN 160504840 IF C2$="PANAMA" THEN 49354845 GOTO 53354850 D$="U10R15D10L15"4855 C$="bm20,160; c2 r90 d4 l15 g10 l50 h8 l7 U5"4860 FOR B = 10 TO 304865 LINE(0,40-B)-(640,40-B),0
  21. 21. 4870 NEXT B4875 DRAW "bm0,35"4880 DRAW "bm5,35"4885 FOR I = 0 TO 1004890 SOUND I+I,14895 DRAW "bm+1,-0"4900 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5005 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5010 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5015 NEXT I5020 FOR B = 13 TO 185025 SOUND 1000,1:SOUND 2000,15030 LINE(65,38-B)-(125,38-B),25035 LOCATE 1,2:PRINT "ATLANTIC OCEAN"5040 NEXT B5045 DRAW "bm50,20":LOCATE 3,35:PRINT"PANAMA CANAL"5050 LOCATE 1,50:PRINT"PACIFIC OCEAN"5055 DRAW "bm55,20"5060 FOR I = 20 TO 605065 SOUND 2000-I,15070 DRAW "bm+1,-0"5075 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5080 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5085 NEXT I5090 FOR B = 18 TO 225095 SOUND 1000,1:SOUND 2000,15100 LINE(125,40-B)-(185,40-B),25105 NEXT B5110 DRAW "bm120,17"5115 DRAW "bm125,17"5120 FOR I = 60 TO 905125 SOUND 2000-I,15130 DRAW "bm+1,-0" :LOCATE 4,25:PRINT"LENGTH 81.6 KM"5135 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5140 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5145 NEXT I5150 FOR B = 22 TO 265155 SOUND 1000,1:SOUND 2000,15160 LINE(185,40-B)-(245,40-B),25165 NEXT B5170 DRAW "bm170,14"5175 DRAW "bm175,14"5180 FOR I = 100 TO 1405185 SOUND 2000-I,15190 DRAW "bm+1,-0"5195 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5200 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5205 NEXT I5210 FOR B = 26 TO 305215 SOUND 1000,1:SOUND 2000,1 :LOCATE 4,40:PRINT "DEPTH 12.5-13.7 METERS"5220 LINE(245,40-B)-(305,40-B),25225 NEXT B5230 DRAW "bm220,09"5235 DRAW "bm225,09"5240 FOR I = 130 TO 1755245 SOUND 2000-I,15250 DRAW "bm+1,-0"
  22. 22. 5255 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5260 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5265 NEXT I5270 FOR B = 29 TO 405275 SOUND 1000,1:SOUND 2000,15280 LINE(305,40-B)-(375,40-B),25285 NEXT B5290 DRAW "bm280,05"5295 DRAW "bm285,05"5300 FOR I = 180 TO 3505305 SOUND 2000-I,15310 DRAW "bm+2,-0"5315 DRAW "c3u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5320 DRAW "c0u10r20d5r10d5l3l3l2l3l7l3l2l3l4"5325 NEXT I5330 END5335 REM5340 REM5345 LOCATE 19,4:PRINT T$:LOCATE 18,19: PRINT B$ :LOCATE 17,4:PRINT "AR ":LOCATE17,7:PRINT C2$:LOCATE 23,3:PRINT R1$:LOCATE 3,305350 IF C2$ <> "NVL" THEN 54155355 DRAW "BM450,100 C3U10R10D10L10R50L40U20H20F20E20G20D20F30H30D45U45L505360 LOCATE 15,62 :PRINT "X"5365 LOCATE 16,54:PRINT "I655370 LOCATE 17,46:PRINT "BIRMINGHAM5375 LOCATE 12,62:PRINT "I40 > KNOXVILLE5380 LOCATE 8,50:PRINT "I245385 LOCATE 8,64:PRINT "I65"5390 LOCATE 16,62:PRINT "I24"5395 LOCATE 18,62:PRINT "CHATTANOOGA5400 LOCATE 7,62:PRINT"BOWLING GREEN5405 LOCATE 7,42:PRINT"ST. LOUIS5410 LOCATE 12,40:PRINT "I40 < MEMPHIS5415 IF I1$ = "PL" THEN 5425 ELSE 54205420 END5425 END5430 REM5435 IF MM>85 AND MM<103 AND R0 = 0 AND H0=>6 AND H0<>12 THEN GOTO 57205440 IF MM>85 AND MM<103 AND R0 = 0 THEN GOTO 5690 LON-NVL5445 IF MM>85 AND MM<103 AND R0 = 1 AND H0=>7 AND H0<>12 THEN GOTO 57205450 IF MM>85 AND MM<103 AND R0 = 1 THEN GOTO 5690 PAR-NVL5455 IF MM>85 AND MM<103 AND R0 = 2 AND H0=>8 AND H0<>12 THEN GOTO 57205460 IF MM>85 AND MM<103 AND R0 = 2 THEN GOTO 5690 ATH-NVL5465 IF MM>85 AND MM<103 AND R0 = 3 AND H0=>9 AND H0<>12 THEN GOTO 57205470 IF MM>85 AND MM<103 AND R0 = 3 THEN GOTO 5690 MOW-NVL5475 IF MM>85 AND MM<103 AND R0 = 4 AND H0=>10 AND H0<>12 THEN GOTO 57205480 IF MM>85 AND MM<103 AND R0 = 4 THEN GOTO 5690 OMN-NVL5485 IF MM>85 AND MM<103 AND R0 = 5 AND H0=>11 AND H0<>12 THEN GOTO 57205490 IF MM>85 AND MM<103 AND R0 = 5 THEN GOTO 5690 BOM-NVL5495 IF MM>85 AND MM<103 AND R0 = 6 AND H0<>12 THEN GOTO 56905500 IF MM>85 AND MM<103 AND R0 = 6 THEN GOTO 5720 CAL-NVL5505 IF MM>85 AND MM<103 AND R0 = 7 AND H0=>1 AND H0<>12 THEN GOTO 5690 SGP-5510 IF MM>85 AND MM<103 AND R0 = 7 THEN GOTO 5720 SGP-NVL5515 IF MM>85 AND MM<103 AND R0 = 8 AND H0=>2 AND H0<>12 THEN GOTO 5690 BJN5520 IF MM>85 AND MM<103 AND R0 = 8 THEN GOTO 5720 BJN-NVL5525 IF MM>85 AND MM<103 AND R0 = 9 AND H0=>3 AND H0<>12 THEN GOTO 5690 TYO-N5530 IF MM>85 AND MM<103 AND R0 = 9 THEN GOTO 5720 TYO-NVL
  23. 23. 5535 IF MM>85 AND MM<103 AND R0 = 10 AND H0=>4 AND H0<>12 THEN GOTO 5690 NGU5540 IF MM>85 AND MM<103 AND R0 = 10 THEN GOTO 5720 NGV-NVL5545 IF MM>85 AND MM<103 AND R0 = 11 AND H0=>5 AND H0<>12 THEN GOTO 5690 NCL5550 IF MM>85 AND MM<103 AND R0 = 11 THEN GOTO 5720 NCL-NVL5555 IF MM>85 AND MM<103 AND R0 = 12 AND H0=>6 AND H0<>12 THEN GOTO 5690 WAK5560 IF MM>85 AND MM<103 AND R0 = 12 THEN GOTO 5720 WAK-NVL5565 IF MM>85 AND MM<103 AND R0 = -1 AND H0=>5 AND H0<>12 THEN GOTO 5720 DAKAR5570 IF MM>85 AND MM<103 AND R0 = -1 THEN GOTO 5690 DAK-NVL5575 IF MM>85 AND MM<103 AND R0 = -2 AND H0=>4 AND H0<>12 THEN GOTO 5720 AZO5580 IF MM>85 AND MM<103 AND R0 = -2 THEN GOTO 5690 AZO-NVL5585 IF MM>85 AND MM<103 AND R0 = -3 AND H0=>3 AND H0<>12 THEN GOTO 5720 GRN5590 IF MM>85 AND MM<103 AND R0 = -3 THEN GOTO 5690 GRN-NVL5595 IF MM>85 AND MM<103 AND R0 = -4 AND H0=>2 AND H0<>12 THEN GOTO 5720 CAY5600 IF MM>85 AND MM<103 AND R0 = -4 THEN GOTO 5690 CAY-NVL5605 IF MM>85 AND MM<103 AND R0 = -5 AND H0=>1 AND H0<>12 THEN GOTO 5720 NYC5610 IF MM>85 AND MM<103 AND R0 = -5 THEN GOTO 5690 NCY-NVL5615 IF MM>85 AND MM<103 AND R0 = -6 AND H0<>12 THEN GOTO 5720 CHI-NVL5620 IF MM>85 AND MM<103 AND R0 = -6 THEN GOTO 5690 CHI-NVL5625 IF MM>85 AND MM<103 AND R0 = -7 AND H0=>11 AND H0<>12 THEN GOTO 5690 DEN5630 IF MM>85 AND MM<103 AND R0 = -7 THEN GOTO 5720 DEN-NVL5635 IF MM>85 AND MM<103 AND R0 = -8 AND H0=>10 AND H0<>12 THEN GOTO 5690 SFO5640 IF MM>85 AND MM<103 AND R0 = -8 THEN GOTO 5720 SFO-NVL5645 IF MM>85 AND MM<103 AND R0 = -9 AND H0=>9 AND H0<>12 THEN GOTO 5690 PRR5650 IF MM>85 AND MM<103 AND R0 = -9 THEN GOTO 5720 PRR-NVL5655 IF MM>85 AND MM<103 AND R0 = -10 AND H0=>8 AND H0<>12 THEN GOTO 5690 HNL5660 IF MM>85 AND MM<103 AND R0 = -10 THEN GOTO 5720 HNL-NVL5665 IF MM>85 AND MM<103 AND R0 = -11 AND H0=>7 AND H0<>12 THEN GOTO 5690 NOM5670 IF MM>85 AND MM<103 AND R0 = -11 THEN GOTO 5720 NOM-NVL5675 IF MM>85 AND MM<103 AND R0 = -12 AND H0=>6 AND H0<>12 THEN GOTO 5690 MID5680 IF MM>85 AND MM<103 AND R0 = -12 THEN GOTO 5720 MID-NVL5685 REM5690 IF L>11 THEN 57055695 IF B0$="PM" THEN B$="PM":GOTO 23405700 IF B0$="AM" THEN B$="AM":GOTO 23405705 IF B0$="PM" THEN B$="AM":GOTO 23405710 IF B0$="AM" THEN B$="PM":GOTO 23405715 REM5720 IF L>11 THEN 57355725 IF B0$="PM" THEN B$="AM":GOTO 23405730 IF B0$="AM" THEN B$="PM":GOTO 23405735 IF B0$="AM" THEN B$="AM":GOTO 23405740 IF B0$="PM" THEN B$="PM":GOTO 23405745 REM NVLLON5750 IF B0$ ="AM" AND B$ = "AM" THEN 60655755 IF B0$ ="PM" AND B$ = "AM" THEN 57705760 IF B0$ ="AM" AND B$ = "PM" THEN 60655765 IF B0$ ="PM" AND B$ = "PM" THEN 60655770 IF H = 3 AND L=<14 THEN 39255775 IF H = 3 AND L >14 AND L=<38 THEN 39305780 IF H = 3 AND L >38 AND L=<62 THEN 39355785 IF H = 3 AND L > 57 THEN 63655790 REM5795 IF H = 4 AND L=<15 THEN 39255800 IF H = 4 AND L >15 AND L=<39 THEN 39305805 IF H = 4 AND L>39 AND L=<63 THEN 39355810 IF H = 4 AND L >63 THEN 6365
  24. 24. 5815 REM5820 IF H = 5 AND L=<16 THEN 39255825 IF H = 5 AND L >16 AND L=<40 THEN 39305830 IF H = 5 AND L >40 AND L=<64 THEN 39355835 IF H = 5 AND L >59 THEN 63655840 REM5845 IF H = 6 AND L <17 THEN 39255850 IF H = 6 AND L=>17 AND L <=41 THEN 39305855 IF H = 6 AND L >41 AND L=<61 THEN 39355860 IF H = 6 AND L >61 THEN 63655865 REM5870 IF H = 7 AND L <18 THEN 39255875 IF H = 7 AND L=>18 AND L=< 43 THEN 39305880 IF H = 7 AND L >43 AND L=< 67 THEN 39355885 IF H = 7 AND L >61 THEN 63655890 REM5895 IF H = 8 AND L <19 THEN 39255900 IF H = 8 AND L=>19 AND L <=43 THEN 39305905 IF H = 8 AND L >43 AND L=< 67 THEN 39355910 IF H = 8 AND L > 67 THEN 63655915 REM5920 IF H = 9 AND L <20 THEN 39255925 IF H = 9 AND L=>20 AND L=<44 THEN 39305930 IF H = 9 AND L >44 AND L <=68 THEN 39355935 IF H = 9 AND L >63 THEN 63655940 REM5945 IF H = 10 AND L <21 THEN 39255950 IF H = 10 AND L=>21 AND L=<45 THEN 39305955 IF H = 10 AND L >45 AND L <=69 THEN 39355960 IF H = 10 AND L >69 THEN 63655965 REM5970 IF H = 11 AND L <22 THEN 39255975 IF H = 11 AND L=>22 AND L=<46 THEN 39305980 IF H = 11 AND L >46 AND L <=70 THEN 39355985 IF H = 11 AND L >70 THEN 63655990 REM5995 IF H = 12 AND L=<11 THEN 39256000 IF H = 12 AND L>11 AND L <=35 THEN 39306005 IF H = 12 AND L>35 AND L <=59 THEN 39356010 IF H = 12 AND L>59 THEN 63656015 REM6020 IF H = 1 AND L=<12 THEN 39256025 IF H = 1 AND L >12 AND L=< 36 THEN 39306030 IF H = 1 AND L > 36 AND L=< 60 THEN 39356035 IF H = 1 AND L > 67 THEN 63656040 REM6045 IF H = 2 AND L=<13 THEN 39256050 IF H = 2 AND L >13 AND L <37 THEN 39306055 IF H = 2 AND L=>37 AND L=<51 THEN 39356060 IF H = 2 AND L >51 THEN 63656065 REM6070 IF H = 1 AND L <7 THEN 38956075 IF H = 1 AND L=>7 AND L=<31 THEN 39256080 IF H = 1 AND L >31 AND L=<55 THEN 39306085 IF H = 1 AND L >55 THEN 63656090 REM6095 IF H = 2 AND L <8 THEN 3895
  25. 25. 6100 IF H = 2 AND L=>8 AND L=<32 THEN 39256105 IF H = 2 AND L >32 AND L=<56 THEN 39306110 IF H = 2 AND L >56 THEN 63656115 REM6120 IF H = 3 AND L <9 THEN 38956125 IF H = 3 AND L=>9 AND L=<33 THEN 39256130 IF H = 3 AND L>33 AND L=<57 THEN 39306135 IF H = 3 AND L>57 THEN 63656140 REM6145 IF H = 4 AND L<10 THEN 38956150 IF H = 4 AND L=>10 AND L=<34 THEN 39256155 IF H = 4 AND L >34 AND L=<58 THEN 39306160 IF H = 4 AND L >58 THEN 63656165 REM6170 IF H = 5 AND L<11 THEN 38956175 IF H = 5 AND L=>11 AND L=<35 THEN 39256180 IF H = 5 AND L >35 AND L=<59 THEN 39306185 IF H = 5 AND L>59 THEN 63656190 REM6195 IF H = 6 AND L<12 THEN 38956200 IF H = 6 AND L=>12 AND L=<36 THEN 39256205 IF H = 6 AND L>36 AND L=<60 THEN 39306210 IF H = 6 AND L>60 THEN 63656215 REM6220 IF H = 7 AND L<13 THEN 38956225 IF H = 7 AND L=>13 AND L=<37 THEN 39256230 IF H = 7 AND L>37 AND L=<61 THEN 39306235 IF H = 7 AND L>61 THEN 63656240 REM6245 IF H = 8 AND L<14 THEN 38956250 IF H = 8 AND L=>14 AND L=<38 THEN 39256255 IF H = 8 AND L>38 AND L=<62 THEN 39306260 IF H = 8 AND L>62 THEN 63656265 REM6270 IF H = 9 AND L<15 THEN 38956275 IF H = 9 AND L=>15 AND L=<39 THEN 39256280 IF H = 9 AND L>39 AND L=<63 THEN 39306285 IF H = 9 AND L>63 THEN 63656290 REM6295 IF H = 10 AND L<16 THEN 38956300 IF H = 10 AND L=>16 AND L=<40 THEN 39256305 IF H = 10 AND L>40 AND L=<64 THEN 39306310 IF H = 10 AND L>64 THEN 63656315 REM6320 IF H = 11 AND L<17 THEN 38956325 IF H = 11 AND L=>17 AND L=<41 THEN 39256330 IF H = 11 AND L>41 AND L=<65 THEN 39306335 IF H = 11 AND L>65 THEN 63656340 REM6345 IF H = 12 AND L<6 THEN 38956350 IF H = 12 AND L=>6 AND L=<30 THEN 39256355 IF H = 12 AND L>30 AND L=<54 THEN 39306360 IF H = 12 AND L>54 THEN 63656365 D4 = L / 21.5 : GOTO 39556370 REM LONNVL6375 IF B0$ ="AM" AND B$ ="PM" THEN 6690
  26. 26. 6380 IF B0$ ="AM" AND B$ ="AM" THEN 63956385 IF B0$ ="PM" AND B$ = "AM" THEN 63956390 IF B0$ ="PM" AND B$ ="PM" THEN 63956395 IF H = 3 AND L<=9 THEN 38956400 IF H = 3 AND L>9 AND L=<33 THEN 39256405 IF H = 3 AND L>33 AND L=<57 THEN 39306410 IF H = 3 AND L>57 THEN 69906415 REM6420 IF H = 4 AND L=<10 THEN 38956425 IF H = 4 AND L>10 AND L=<34 THEN 39256430 IF H = 4 AND L>34 AND L=<58 THEN 39306435 IF H = 4 AND L>58 THEN 69906440 REM6445 IF H = 5 AND L=<11 THEN 38956450 IF H = 5 AND L>11 AND L=<35 THEN 39256455 IF H = 5 AND L>35 AND L=<59 THEN 39306460 IF H = 5 AND L>59 THEN 69906465 REM6470 IF H = 6 AND L=<12 THEN 38956475 IF H = 6 AND L>12 AND L<=36 THEN 39256480 IF H = 6 AND L>36 AND L=<60 THEN 39306485 IF H = 6 AND L>60 THEN 69906490 REM6495 IF H = 7 AND L=<13 THEN 38956500 IF H = 7 AND L>13 AND L=<37 THEN 39256505 IF H = 7 AND L>37 AND L=<61 THEN 39306510 IF H = 7 AND L>61 THEN 69906515 REM6520 IF H = 8 AND L=<14 THEN 38956525 IF H = 8 AND L>14 AND L<=38 THEN 39256530 IF H = 8 AND L>38 AND L=<62 THEN 39306535 IF H = 8 AND L>62 THEN 69906540 REM6545 IF H = 9 AND L=<15 THEN 38956550 IF H = 9 AND L>15 AND L=<39 THEN 39256555 IF H = 9 AND L>39 AND L<=63 THEN 39306560 IF H = 9 AND L>63 THEN 69906565 REM6570 IF H = 10 AND L=<16 THEN 38956575 IF H = 10 AND L>16 AND L=<40 THEN 39256580 IF H = 10 AND L>40 AND L<=64 THEN 39306585 IF H = 10 AND L>64 THEN 69906590 REM6595 IF H = 11 AND L=<17 THEN 38956600 IF H = 11 AND L>17 AND L=<41 THEN 39256605 IF H = 11 AND L>41 AND L<=65 THEN 39306610 IF H = 11 AND L>65 THEN 69906615 REM6620 IF H = 12 AND L<=6 THEN 38956625 IF H = 12 AND L>6 AND L<=30 THEN 39256630 IF H = 12 AND L>30 AND L<=54 THEN 39306635 IF H = 12 AND L>54 THEN 69906640 REM6645 IF H = 1 AND L<=7 THEN 38956650 IF H = 1 AND L>7 AND L=<31 THEN 39256655 IF H = 1 AND L>31 AND L=<55 THEN 39306660 IF H = 1 AND L>55 THEN 6990
  27. 27. 6665 REM6670 IF H = 2 AND L<=8 THEN 38956675 IF H = 2 AND L>8 AND L=<32 THEN 39256680 IF H = 2 AND L>32 AND L=<56 THEN 39306685 IF H = 2 AND L>56 THEN 69906690 REM6695 IF H = 1 AND L<1 THEN 39406700 IF H = 1 AND L=>1 AND L=<25 THEN 38956705 IF H = 1 AND L>25 AND L=<49 THEN 39256710 IF H = 1 AND L>49 THEN 69906715 REM6720 IF H = 2 AND L<2 THEN 39406725 IF H = 2 AND L=>2 AND L=<26 THEN 38956730 IF H = 2 AND L>26 AND L=<50 THEN 39256735 IF H = 2 AND L>51 THEN 69906740 REM6745 IF H = 3 AND L<3 THEN 39406750 IF H = 3 AND L=>3 AND L=<27 THEN 38956755 IF H = 3 AND L>27 AND L=<51 THEN 39256760 IF H = 3 AND L>51 THEN 69906765 REM6770 IF H = 4 AND L<4 THEN 39406775 IF H = 4 AND L=>4 AND L=<28 THEN 38956780 IF H = 4 AND L>28 AND L=<52 THEN 39256785 IF H = 4 AND L>52 THEN 69906790 REM6795 IF H = 5 AND L<5 THEN 39406800 IF H = 5 AND L=>5 AND L=<29 THEN 38956805 IF H = 5 AND L>29 AND L=<53 THEN 39256810 IF H = 5 AND L>53 THEN 69906815 REM6820 IF H = 6 AND L<6 THEN 39406825 IF H = 6 AND L=>6 AND L=<30 THEN 38956830 IF H = 6 AND L>30 AND L=<54 THEN 39256835 IF H = 6 AND L>54 THEN 69906840 REM6845 IF H = 7 AND L<7 THEN 39406850 IF H = 7 AND L=>7 AND L=<31 THEN 38956855 IF H = 7 AND L>31 AND L=<55 THEN 39256860 IF H = 7 AND L>55 THEN 69906865 REM6870 IF H = 8 AND L<8 THEN 39406875 IF H = 8 AND L=>8 AND L=<32 THEN 38956880 IF H = 8 AND L>32 AND L=<56 THEN 39256885 IF H = 8 AND L>56 THEN 69906890 REM6895 IF H = 9 AND L<9 THEN 39406900 IF H = 9 AND L=>9 AND L=<33 THEN 38956905 IF H = 9 AND L>33 AND L=<57 THEN 39256910 IF H = 9 AND L>57 THEN 69906915 REM6920 IF H = 10 AND L<10 THEN 39406925 IF H = 10 AND L=>10 AND L=<34 THEN 38956930 IF H = 10 AND L>34 AND L=<58 THEN 39256935 IF H = 10 AND L>58 THEN 69906940 REM
  28. 28. 6945 IF H = 11 AND L<11 THEN 39406950 IF H = 11 AND L=>11 AND L=<35 THEN 38956955 IF H = 11 AND L>35 AND L=<59 THEN 39256960 IF H = 11 AND L>59 THEN 69906965 REM6970 IF H = 12 AND L<0 THEN 39406975 IF H = 12 AND L=>0 AND L=<24 THEN 38956980 IF H = 12 AND L>24 AND L=<48 THEN 39256985 IF H = 12 AND L>48 THEN 69906990 IF L=<82 THEN D4 = L/19.2:GOTO 39606995 IF L<202 THEN D4 = (L+(K9/60))/21.5:GOTO 39607000 IF L<225 THEN D4 = (L+(K9/60))/22.27222 :GOTO 39607005 IF L<250 THEN D4 = (L+(K9/60))/23 :GOTO 39607010 IF L<418 THEN D4 = (L+(K9/60))/22.8 :GOTO 39607015 IF L<514 THEN D4 = (L+(K9/60))/23 :GOTO 39607020 D4 = (L+(K9/60))/23.2 :GOTO 39607025 REM NVLDAK7030 IF B0$ ="AM" AND B$ = "AM" THEN 70557035 IF B0$ ="PM" AND B$ = "AM" THEN 70557040 IF B0$ ="AM" AND B$ = "PM" THEN 73507045 IF B0$ ="PM" AND B$ = "PM" THEN 73507050 REM7055 IF H = 3 AND L<10 THEN 38957060 IF H = 3 AND L=>10 AND L=<34 THEN 39257065 IF H = 3 AND L>34 AND L=<58 THEN 39307070 IF H = 3 AND L>58 THEN 39457075 REM7080 IF H = 4 AND L<11 THEN 38957085 IF H = 4 AND L=>11 AND L=<35 THEN 39257090 IF H = 4 AND L>35 AND L=<59 THEN 39307095 IF H = 4 AND L>59 THEN 39457100 REM7105 IF H = 5 AND L<12 THEN 38957110 IF H = 5 AND L=>12 AND L=<36 THEN 39257115 IF H = 5 AND L>36 AND L=<60 THEN 39307120 IF H = 5 AND L>60 THEN 39457125 REM7130 IF H = 6 AND L<13 THEN 38957135 IF H = 6 AND L=>13 AND L<=37 THEN 39257140 IF H = 6 AND L>37 AND L=<61 THEN 39357145 IF H = 6 AND L>61 THEN 39457150 REM7155 IF H = 7 AND L<14 THEN 38957160 IF H = 7 AND L=>14 AND L=<38 THEN 39257165 IF H = 7 AND L>38 AND L=<62 THEN 39307170 IF H = 7 AND L>62 THEN 39457175 REM7180 IF H = 8 AND L<15 THEN 38957185 IF H = 8 AND L=>15 AND L<=39 THEN 39257190 IF H = 8 AND L>39 AND L=<63 THEN 39307195 IF H = 8 AND L>63 THEN 39457200 REM7205 IF H = 9 AND L<16 THEN 38957210 IF H = 9 AND L=>16 AND L=<40 THEN 39257215 IF H = 9 AND L>40 AND L<=64 THEN 39307220 IF H = 9 AND L>64 THEN 39457225 REM
  29. 29. 7230 IF H = 10 AND L<17 THEN 38957235 IF H = 10 AND L=>17 AND L=<41 THEN 39257240 IF H = 10 AND L>41 AND L<=65 THEN 39307245 IF H = 10 AND L>65 THEN 39457250 REM7255 IF H = 11 AND L<18 THEN 38957260 IF H = 11 AND L=>18 AND L=<42 THEN 39257265 IF H = 11 AND L>42 AND L<=66 THEN 39307270 IF H = 11 AND L>66 THEN 39457275 REM7280 IF H = 12 AND L<7 THEN 38957285 IF H = 12 AND L=>7 AND L <=31 THEN 39257290 IF H = 12 AND L>31 AND L<=55 THEN 39307295 IF H = 12 AND L>55 THEN 39457300 REM7305 IF H = 1 AND L<8 THEN 38957310 IF H = 1 AND L=>8 AND L=<32 THEN 39257315 IF H = 1 AND L>32 AND L=<56 THEN 39307320 IF H = 1 AND L>56 THEN 39457325 REM7330 IF H = 2 AND L<9 THEN 38957335 IF H = 2 AND L=>9 AND L=<33 THEN 39257340 IF H = 2 AND L>33 AND L=<57 THEN 39307345 IF H = 2 AND L>57 THEN 39457350 REM7355 IF H = 1 AND L <11 THEN 38957360 IF H = 1 AND L=>11 AND L=<35 THEN 39257365 IF H = 1 AND L >35 AND L=<59 THEN 39307370 IF H = 1 AND L >59 THEN 39457375 REM7380 IF H = 2 AND L <12 THEN 38957385 IF H = 2 AND L=>12 AND L=<36 THEN 39257390 IF H = 2 AND L >36 AND L=<60 THEN 39307395 IF H = 2 AND L >60 THEN 39457400 REM7405 IF H = 3 AND L=<9 THEN 38957410 IF H = 3 AND L >9 AND L=< 33 THEN 39257415 IF H = 3 AND L >33 AND L=<57 THEN 39307420 IF H = 3 AND L >57 THEN 39457425 REM7430 IF H = 4 AND L=<10 THEN 38957435 IF H = 4 AND L >10 AND L=<34 THEN 39257440 IF H = 4 AND L >36 AND L=<60 THEN 39307445 IF H = 4 AND L >60 THEN 39457450 REM7455 IF H = 5 AND L=<11 THEN 38957460 IF H = 5 AND L >11 AND L=<35 THEN 39257465 IF H = 5 AND L >35 AND L=<59 THEN 39307470 IF H = 5 AND L > 71 THEN 39457475 REM7480 IF H = 6 AND L=<12 THEN 38957485 IF H = 6 AND L >12 AND L=< 36 THEN 39257490 IF H = 6 AND L >36 AND L=<60 THEN 39307495 IF H = 6 AND L > 60 THEN 39457500 REM7505 IF H = 7 AND L=<13 THEN 38957510 IF H = 7 AND L >13 AND L=<37 THEN 3925
  30. 30. 7515 IF H = 7 AND L >37 AND L=<61 THEN 39307520 IF H = 7 AND L >61 THEN 39457525 REM7530 IF H = 8 AND L=<14 THEN 38957535 IF H = 8 AND L >14 AND L=<38 THEN 39257540 IF H = 8 AND L >38 AND L=<62 THEN 39307545 IF H = 8 AND L >61 THEN 39457550 REM7555 IF H = 9 AND L=<15 THEN 38957560 IF H = 9 AND L>15 AND L=<39 THEN 39257565 IF H = 9 AND L>39 AND L=<63 THEN 39307570 IF H = 9 AND L>63 THEN 39457575 REM7580 IF H = 10 AND L=<16 THEN 38957585 IF H = 10 AND L>15 AND L=<39 THEN 39257590 IF H = 10 AND L>39 AND L=<63 THEN 39307595 IF H = 10 AND L>63 THEN 39457600 REM7605 IF H = 11 AND L=<17 THEN 38957610 IF H = 11 AND L>17 AND L=<41 THEN 39257615 IF H = 11 AND L>41 AND L=<65 THEN 39307620 IF H = 11 AND L>65 THEN 39457625 REM7630 IF H = 12 AND L=<10 THEN 38957635 IF H = 12 AND L>10 AND L=<34 THEN 39257640 IF H = 12 AND L>34 AND L=<59 THEN 39307645 IF H = 12 AND L > 59 THEN 39457650 EOF = (1)7655 REM LONMID7660 IF B0$ ="AM" AND B$ ="PM" THEN 79757665 IF B0$ ="AM" AND B$ ="AM" THEN 76807670 IF B0$ ="PM" AND B$ = "AM" THEN 76807675 IF B0$ ="PM" AND B$ ="PM" THEN 76807680 IF H = 3 AND L<10 THEN 38957685 IF H = 3 AND L=>10 AND L=<34 THEN 39257690 IF H = 3 AND L>34 AND L=<58 THEN 39307695 IF H = 3 AND L>58 THEN 39457700 REM7705 IF H = 4 AND L<11 THEN 38957710 IF H = 4 AND L=>11 AND L=<35 THEN 39257715 IF H = 4 AND L>35 AND L=<59 THEN 39307720 IF H = 4 AND L>59 THEN 39457725 REM7730 IF H = 5 AND L<12 THEN 38957735 IF H = 5 AND L=>12 AND L=<36 THEN 39257740 IF H = 5 AND L>36 AND L=<60 THEN 39307745 IF H = 5 AND L>60 THEN 39457750 REM7755 IF H = 6 AND L<13 THEN 38957760 IF H = 6 AND L=>13 AND L<=37 THEN 39257765 IF H = 6 AND L>37 AND L=<61 THEN 39307770 IF H = 6 AND L>61 THEN 39457775 REM7780 IF H = 7 AND L<14 THEN 38957785 IF H = 7 AND L>=14 AND L=<38 THEN 39257790 IF H = 7 AND L>38 AND L=<62 THEN 39307795 IF H = 7 AND L>62 THEN 3945
  31. 31. 7800 REM7805 IF H = 8 AND L<15 THEN 38957810 IF H = 8 AND L=>15 AND L<=39 THEN 39257815 IF H = 8 AND L>39 AND L=<63 THEN 39307820 IF H = 8 AND L>63 THEN 39457825 REM7830 IF H = 9 AND L<16 THEN 38957835 IF H = 9 AND L=>16 AND L=<40 THEN 39257840 IF H = 9 AND L>40 AND L<=64 THEN 39307845 IF H = 9 AND L>64 THEN 39457850 REM7855 IF H = 10 AND L<17 THEN 38957860 IF H = 10 AND L=>17 AND L=<41 THEN 39257865 IF H = 10 AND L>41 AND L<=65 THEN 39307870 IF H = 10 AND L>65 THEN 39457875 REM7880 IF H = 11 AND L<18 THEN 38957885 IF H = 11 AND L=>18 AND L=<42 THEN 39257890 IF H = 11 AND L>42 AND L<=66 THEN 39307895 IF H = 11 AND L>66 THEN 39457900 REM7905 IF H = 12 AND L<7 THEN 38957910 IF H = 12 AND L=>7 AND L<=31 THEN 39257915 IF H = 12 AND L>31 AND L<=55 THEN 39307920 IF H = 12 AND L>55 THEN 39457925 REM7930 IF H = 1 AND L<8 THEN 38957935 IF H = 1 AND L>=8 AND L=<32 THEN 39257940 IF H = 1 AND L>32 AND L=<56 THEN 39307945 IF H = 1 AND L>56 THEN 39457950 REM7955 IF H = 2 AND L<9 THEN 38957960 IF H = 2 AND L>=9 AND L=<33 THEN 39257965 IF H = 2 AND L>33 AND L=<57 THEN 39307970 IF H = 2 AND L>57 THEN 39457975 REM7980 IF H = 1 AND L<2 THEN 39407985 IF H = 1 AND L=>2 AND L=<26 THEN 38957990 IF H = 1 AND L>26 AND L=<50 THEN 39257995 IF H = 1 AND L>50 THEN 39458000 REM8005 IF H = 2 AND L<3 THEN 39408010 IF H = 2 AND L=>3 AND L=<27 THEN 38958015 IF H = 2 AND L>27 AND L=<51 THEN 39258020 IF H = 2 AND L>51 THEN 39458025 REM8030 IF H = 3 AND L<4 THEN 39408035 IF H = 3 AND L=>4 AND L=<28 THEN 38958040 IF H = 3 AND L>28 AND L=<52 THEN 39258045 IF H = 3 AND L>52 THEN 39458050 REM8055 IF H = 4 AND L<5 THEN 39408060 IF H = 4 AND L=>5 AND L=<29 THEN 38958065 IF H = 4 AND L>29 AND L=<53 THEN 39258070 IF H = 4 AND L>53 THEN 39458075 REM8080 IF H = 5 AND L<6 THEN 3940
  32. 32. 8085 IF H = 5 AND L=>6 AND L=<30 THEN 38958090 IF H = 5 AND L>30 AND L=<54 THEN 39258095 IF H = 5 AND L>54 THEN 39458100 REM8105 IF H = 6 AND L<7 THEN 39408110 IF H = 6 AND L=>7 AND L=<31 THEN 38958115 IF H = 6 AND L>31 AND L=<55 THEN 39258120 IF H = 6 AND L>55 THEN 39458125 REM8130 IF H = 7 AND L<8 THEN 39408135 IF H = 7 AND L=>8 AND L=<32 THEN 38958140 IF H = 7 AND L>32 AND L=<56 THEN 39258145 IF H = 7 AND L>56 THEN 39458150 REM8155 IF H = 8 AND L<9 THEN 39408160 IF H = 8 AND L=>9 AND L=<33 THEN 38958165 IF H = 8 AND L>33 AND L=<57 THEN 39258170 IF H = 8 AND L>57 THEN 39458175 REM8180 IF H = 9 AND L<10 THEN 39408185 IF H = 9 AND L=>10 AND L=<34 THEN 38958190 IF H = 9 AND L>34 AND L=<58 THEN 39258195 IF H = 9 AND L>58 THEN 39458200 REM8205 IF H = 10 AND L<11 THEN 39408210 IF H = 10 AND L=>11 AND L=<35 THEN 38958215 IF H = 10 AND L>35 AND L=<59 THEN 39258220 IF H = 10 AND L>59 THEN 39458225 REM8230 IF H = 11 AND L<12 THEN 39408235 IF H = 11 AND L=>12 AND L=<36 THEN 38958240 IF H = 11 AND L>36 AND L=<60 THEN 39258245 IF H = 11 AND L>60 THEN 39458250 REM8255 IF H = 12 AND L<1 THEN 39408260 IF H = 12 AND L=>1 AND L=<25 THEN 38958265 IF H = 12 AND L>25 AND L=<49 THEN 39258270 IF H = 12 AND L>49 THEN 39458275 REM zone -6to-6 nvl to nvl8280 IF R00<> R22 THEN 86008285 IF B0$ ="AM" AND B$ = "AM" THEN 86008290 IF B0$ ="PM" AND B$ = "AM" THEN 83058295 IF B0$ ="AM" AND B$ = "PM" THEN 86008300 IF B0$ ="PM" AND B$ = "PM" THEN 86008305 IF H = 3 AND L=<14 THEN 39258310 IF H = 3 AND L >14 AND L=<38 THEN 39308315 IF H = 3 AND L >38 AND L=<62 THEN 39358320 IF H = 3 AND L > 57 THEN 39458325 REM8330 IF H = 4 AND L=<15 THEN 39258335 IF H = 4 AND L >15 AND L=<39 THEN 39308340 IF H = 4 AND L>39 AND L=<63 THEN 39358345 IF H = 4 AND L >63 THEN 39458350 REM8355 IF H = 5 AND L=<16 THEN 39258360 IF H = 5 AND L >16 AND L=<40 THEN 39308365 IF H = 5 AND L >40 AND L=<64 THEN 3935
  33. 33. 8370 IF H = 5 AND L >59 THEN 39458375 REM8380 IF H = 6 AND L <17 THEN 39258385 IF H = 6 AND L=>17 AND L <=41 THEN 39308390 IF H = 6 AND L >41 AND L=<61 THEN 39358395 IF H = 6 AND L >61 THEN 39458400 REM8405 IF H = 7 AND L <18 THEN 39258410 IF H = 7 AND L=>18 AND L=< 43 THEN 39308415 IF H = 7 AND L >43 AND L=< 67 THEN 39358420 IF H = 7 AND L >61 THEN 39458425 REM8430 IF H = 8 AND L <19 THEN 39258435 IF H = 8 AND L=>19 AND L <=43 THEN 39308440 IF H = 8 AND L >43 AND L=< 67 THEN 39358445 IF H = 8 AND L > 67 THEN 39458450 REM8455 IF H = 9 AND L <20 THEN 39258460 IF H = 9 AND L=>20 AND L=<44 THEN 39308465 IF H = 9 AND L >44 AND L <=68 THEN 39358470 IF H = 9 AND L >63 THEN 39458475 REM8480 IF H = 10 AND L <21 THEN 39258485 IF H = 10 AND L=>21 AND L=<45 THEN 39308490 IF H = 10 AND L >45 AND L <=69 THEN 39358495 IF H = 10 AND L >69 THEN 39458500 REM8505 IF H = 11 AND L <22 THEN 39258510 IF H = 11 AND L=>22 AND L=<46 THEN 39308515 IF H = 11 AND L >46 AND L <=70 THEN 39358520 IF H = 11 AND L >70 THEN 39458525 REM8530 IF H = 12 AND L=<23 THEN 39258535 IF H = 12 AND L>23 AND L <=47 THEN 39308540 IF H = 12 AND L>47 AND L <=71 THEN 39358545 IF H = 12 AND L>71 THEN 39458550 REM8555 IF H = 1 AND L=<12 THEN 39258560 IF H = 1 AND L >12 AND L=< 36 THEN 39308565 IF H = 1 AND L > 36 AND L=< 60 THEN 39358570 IF H = 1 AND L > 67 THEN 39458575 REM8580 IF H = 2 AND L=<13 THEN 39258585 IF H = 2 AND L >13 AND L <37 THEN 39308590 IF H = 2 AND L=>37 AND L=<51 THEN 39358595 IF H = 2 AND L >51 THEN 39458600 REM8605 IF H = 1 AND L <13 THEN 38958610 IF H = 1 AND L=>13 AND L=<37 THEN 39258615 IF H = 1 AND L >37 AND L=<61 THEN 39308620 IF H = 1 AND L >61 THEN 39458625 REM8630 IF H = 2 AND L <14 THEN 38958635 IF H = 2 AND L=>14 AND L=<38 THEN 39258640 IF H = 2 AND L >38 AND L=<62 THEN 39308645 IF H = 2 AND L >62 THEN 39458650 REM
  34. 34. 8655 IF H = 3 AND L <15 THEN 38958660 IF H = 3 AND L=>15 AND L=<39 THEN 39258665 IF H = 3 AND L >39 AND L=<63 THEN 39308670 IF H = 3 AND L >63 THEN 39458675 REM8680 IF H = 4 AND L <16 THEN 38958685 IF H = 4 AND L=>16 AND L=<40 THEN 39258690 IF H = 4 AND L >40 AND L=<64 THEN 39308695 IF H = 4 AND L >64 THEN 39458700 REM8705 IF H = 5 AND L <17 THEN 38958710 IF H = 5 AND L=>17 AND L=<41 THEN 39258715 IF H = 5 AND L >41 AND L=<65 THEN 39308720 IF H = 5 AND L >65 THEN 39458725 REM8730 IF H = 6 AND L <18 THEN 38958735 IF H = 6 AND L=>18 AND L=<42 THEN 39258740 IF H = 6 AND L >42 AND L=<66 THEN 39308745 IF H = 6 AND L >66 THEN 39458750 REM8755 IF H = 7 AND L <19 THEN 38958760 IF H = 7 AND L=>19 AND L=<43 THEN 39258765 IF H = 7 AND L >43 AND L=<67 THEN 39308770 IF H = 7 AND L >67 THEN 39458775 REM8780 IF H = 8 AND L <20 THEN 38958785 IF H = 8 AND L=>20 AND L=<44 THEN 39258790 IF H = 8 AND L >44 AND L=<68 THEN 39308795 IF H = 8 AND L >68 THEN 39458800 REM8805 IF H = 9 AND L <21 THEN 38958810 IF H = 9 AND L=>21 AND L=<45 THEN 39258815 IF H = 9 AND L>45 AND L=<69 THEN 39308820 IF H = 9 AND L>74 THEN 39458825 REM8830 IF H = 10 AND L <22 THEN 38958835 IF H = 10 AND L=>22 AND L=<46 THEN 39258840 IF H = 10 AND L>46 AND L=<70 THEN 39308845 IF H = 10 AND L>70 THEN 39458850 REM8855 IF H = 11 AND L <23 THEN 38958860 IF H = 11 AND L=>23 AND L=<47 THEN 39258865 IF H = 11 AND L>47 AND L=<71 THEN 39308870 IF H = 11 AND L>71 THEN 39458875 REM8880 IF H = 12 AND L=<12 THEN 38958885 IF H = 12 AND L>12 AND L=<36 THEN 39258890 IF H = 12 AND L>36 AND L=<60 THEN 39308895 IF H = 12 AND L >60 THEN 39458900 IF N$(N)= "JAN" THEN M = 18905 IF N$(N)= "FEB" THEN M = 28910 IF N$(N)= "MAR" THEN M = 38915 IF N$(N)= "APR" THEN M = 48920 IF N$(N)= "MAY" THEN M = 58925 IF N$(N)= "JUN" THEN M = 68930 IF N$(N)= "JUL" THEN M = 78935 IF N$(N)= "AUG" THEN M = 8
  35. 35. 8940 IF N$(N)= "SEP" THEN M = 98945 IF N$(N)= "OCT" THEN M = 108950 IF N$(N)= "NOV" THEN M = 118955 IF N$(N)= "DEC" THEN M = 128960 D = T38965 Y=YEAR8970 LET J$(1) = "SUNDAY"8975 LET J$(2) = "MONDAY"8980 LET J$(3) = "TUESDAY"8985 LET J$(4) = "WEDNESDAY"8990 LET J$(5) = "THURSDAY"8995 LET J$(6) = "FRIDAY"9000 LET J$(7) = "SATURDAY"9005 LET K = INT(.6 +(1/M))9010 LET L = Y - K9015 LET O = M + 12*K9020 LET P = L/1009025 LET Z1 = INT(P/4)9030 LET Z2 = INT(P)9035 LET Z3 = INT((5*L)/4)9040 LET Z4 = INT(13*(O+1)/5)9045 LET Z10= Z4+Z3-Z2+Z1+D0-19050 LET Z10 = Z10-(7*INT(Z10/7))+19055 RETURN

×