Home » CEEFAX disks » telesoftware10.adl » 18-11-88/PLOT
18-11-88/PLOT
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » CEEFAX disks » telesoftware10.adl |
Filename: | 18-11-88/PLOT |
Read OK: | ✔ |
File size: | 13BC bytes |
Load address: | FFFF1A00 |
Exec address: | FFFF1A00 |
File contents
10GOTO 1720 20REM PORTFOLIO - PLOT 30REM (C) Jon Leighton Nov 1988 40ONERROR CLOSE#0:CLS:PROChain("ANALYSE") 50DIM str%(1),PF%(1),NONE%(1),year%(3) 60year%(0)=U%:year%(1)=V%:year%(2)=W%:year%(3)=Y% 70f%=J%:h%=L% 80cptr%=0:ptr%=0:max=0:min=0:omax=0:omin=0:scale=0:xdif=0:fmax=0:Y=0:fptr%=158:cdptr%=160:disc%=165:mxmn%=171:b$=" ":share$=b$:npts%=0:press$=$&1500:av1%=&1600:av2%=&1700 90IF Z%=5 A%=0:B%=0:N%=1:PROCcont:GOTO 120 100PROCplot:PRINTTAB(6,30)press$;:*FX21,0 110A%=GET AND &DF:IF A%=80 PROCdump 120CLS 130PROChain("ANALYSE") 140DEFPROChain(A$):PROCsys:CHAIN""":0.$."+A$+"""":ENDPROC 150DEFPROCaxes:PROCborder:IF N%=1 MOVE 100,550:DRAW 1100,550 160ENDPROC 170DEFPROCplot:S%=0:R%=0:str%(0)=C%-2:str%(1)=D%-2:PF%(0)=A%:PF%(1)=B%:Y1=0:Y2=0 180FOR I%=0TO1:NONE%(I%)=FALSE:PROCopen 190IF G%=0 NONE%(I%)=TRUE:GOTO 510 200IF share$=b$ NONE%(I%)=TRUE:GOTO 510 210IF N%=0 T%=1 220IF N%=1 T%=1+(I%*14) 230IF str%(I%)>=0 ptr%=frec%+str%(I%)*2 ELSE GOTO 520 240PROCaxes 250PRINTTAB(7,T%)share$;" ";:PROCdate 260IF f% PRINTSTR$(F%); 270IF f% AND h% PRINT" and "; 280IF h% PRINTSTR$(H%); 290IF f% OR h% PRINT" day average"; 300IF f% AND h% PRINT"s" 310PROCscale 320IF npts%<2 PRINTTAB(30,T%+10)"Only 1 point.":GOTO 510 330PROCantte:X=100:PTR#G%=ptr%:oldptr%=0:M%=-1:E%=X:Q%=X 340REPEAT:PROCgp:X=X+xdif:UNTIL Y<>0 350PROCstart 360IF f% OR h% PROCaver 370IF ptr%>fptr%+ndata%*2 oldptr%=ptr% 380MOVE X,Y:X=X+xdif:oldY=Y 390REPEAT:CLOSE#0:PROCopen2:IF oldptr%>0 THEN ptr%=oldptr%:oldptr%=0 400L%=cptr%+ndata%*2-2 410REPEAT:PROCgp 420IF f% OR h% PROCaver 430IF f% AND X>E%+10 MOVE X,Y1:DRAW X,Y1:E%=X 440IF h% AND X>Q%+20 MOVE X,Y2:DRAW X,Y2:Q%=X 450IF Z%>0 MOVE X-xdif,oldY:DRAW X,Y:oldY=Y 460X=X+xdif 470npts%=npts%-1 480UNTIL ptr%>L% 490nyears%=nyears%-1 500UNTIL npts%=1 OR nyears%<0 510CLOSE#0 520NEXT 530ENDPROC 540DEFPROCaver:M%=M%+1:V%=M% MOD 256 550IF Y>0 P%=Y 560av1%?V%=P% DIV 256:av2%?V%=P% MOD 256 570W%=V%-F%:IF W%<0 W%=W%+256 580Fav=Fav-(av1%?W%)*256-(av2%?W%)+P% 590W%=V%-H%:IF W%<0 W%=W%+256 600Hav=Hav-(av1%?W%)*256-(av2%?W%)+P% 610Y1=Fav/F% 620Y2=Hav/H% 630ENDPROC 640DEFPROCstart 650Fav=Y*F%:Hav=Y*H% 660FOR W%=1TOH%:av1%?(256-W%)=Y DIV 256:av2%?(256-W%)=Y MOD 256:NEXT 670ENDPROC 680DEFPROCopen 690IF str%(I%)<0 ENDPROC 700PROCff 710IF nyears%=0 THEN ENDPROC 720nyears%=nyears%-1:PROCopen2:PTR#G%=str%(I%)*7:share$="" 730FOR J%=1TO7:share$=share$+CHR$(BGET#G%):NEXT 740IF share$=b$:ENDPROC 750PROCgetdmy:G%=OPENUP(STR$(year%(PF%(I%))-nyears%)+STR$(PF%(I%))) 760ENDPROC 770DEFPROCff 780nyears%=0 790REPEAT 800G%=OPENUP(STR$(year%(PF%(I%))-nyears%)+STR$(PF%(I%))) 810CLOSE#0 820IF G%=0 GOTO 840 830nyears%=nyears%+1 840UNTIL G%=0 850IF G%+nyears%=0 THEN ENDPROC 860IF PF%(I%)=0 ndata%=1 ELSE ndata%=20 870npts%=0:omin=9999:omax=0 880FOR K%=0TOnyears%-1:G%=OPENUP(STR$(year%(PF%(I%))-K%)+STR$(PF%(I%))):PTR#G%=mxmn%+str%(I%)*4 890tmin=(BGET#G%)*256+BGET#G%:IF tmin<omin omin=tmin 900tmax=(BGET#G%)*256+BGET#G%:IF tmax>omax omax=tmax 910PTR#G%=fptr%:frec%=(BGET#G%)*256+BGET#G%:PTR#G%=disc%:cptr%=(BGET#G%)*256+BGET#G%:npts%=npts%+1+(cptr%-frec%) DIV (ndata%*2) 920CLOSE#0 930NEXT 940ENDPROC 950DEFPROCopen2:G%=OPENUP(STR$(year%(PF%(I%))-nyears%)+STR$(PF%(I%))):PTR#G%=fptr%:frec%=(BGET#G%)*256+BGET#G%:PTR#G%=disc%:cptr%=(BGET#G%)*256+BGET#G%:ptr%=frec%+str%(I%)*2 960ENDPROC 970DEFPROCgetdmy:PTR#G%=disc%:cptr%=(BGET#G%)*256+BGET#G%:d=BGET#G%:m=BGET#G%:y=(BGET#G%)*256+BGET#G% 980IF nyears%=0 GOTO 1010 990CLOSE#0 1000G%=OPENUP(STR$(year%(PF%(I%)))+STR$(PF%(I%))) 1010PTR#G%=cdptr%:D=BGET#G%:M=BGET#G%:Y=(BGET#G%)*256+BGET#G% 1020CLOSE#0 1030ENDPROC 1040DEFPROCdate 1050PRINTSTR$(d)+"/"+STR$(m)+"/"+STR$(y)+" to "+STR$(D)+"/"+STR$(M)+"/"+STR$(Y)+b$; 1060ENDPROC 1070DEFPROCgp:PTR#G%=ptr%:Z%=(BGET#G%)*100+BGET#G% 1080IF Z%=0 Y=0:GOTO 1130 1090IF Z%<10 Z%=10 1100REMY=LOG(Z%):Y=(Y-min)*scale/(N%+1) 1110Y=LOG(Z%):Y=(Y-min)*O 1120IF N%=1 AND I%=0 Y=Y+550 ELSE Y=Y+100 1130ptr%=ptr%+ndata%*2 1140ENDPROC 1150DEFPROCscale 1160IF npts%<2 ENDPROC 1170PROCsetmxmn:dif=850:scale=dif/(max-min):xdif=1000/(npts%) 1180ENDPROC 1190DEFPROCsetmxmn 1200omin=(omin DIV 10) *10 1210IF omin<10 omin=10 1220IF (omax-omin)<10 omax=omin+10 1230min=LOG((omin DIV 10)*10):max=LOG(omax+((omax-omin) DIV 10)) 1240IF (max-min)=0 max=1:min=0 1250ENDPROC 1260DEFPROCantte 1270XDIF=10^(LEN(STR$(omax-omin))-2) 1280O=scale/(N%+1) 1290VDU5:X=(omin DIV 10)*10:OLDY=-1000:Y=LOG(X):Y=(Y-min)*O:fmax=960:Y=Y+100 1300IF N%=1 AND I%=0 XDIF=XDIF*(XDIF DIV 10):Y=Y+450 1310IF N%+I%=2 fmax=510:XDIF=XDIF*(XDIF DIV 10) 1320IF XDIF<1 XDIF=1 1330REPEAT 1340IF (Y-OLDY)<48 GOTO 1360 1350MOVE 10,Y+16:OLDY=Y:PRINT;X:MOVE 100,Y:DRAW 120,Y:MOVE 1110,Y+16:PRINT;X:MOVE 1080,Y:DRAW 1100,Y 1360X=X+XDIF 1370Y=LOG(X):Y=100+(Y-min)*O 1380IF N%=1 AND I%=0 Y=Y+450 1390UNTIL Y>fmax OR X>9999 1400VDU4 1410ENDPROC 1420DEFPROCcont 1430A%=0:B%=0 1440REPEAT 1450C%=2:D%=3 1460REPEAT 1470PROCplot 1480IF NONE%(0) AND NONE%(1) GOTO 1530 1490PRINTTAB(6,30)press$;:*FX21,0 1500Z%=GET AND &DF 1510IF Z%=80 PROCdump 1520CLS 1530C%=C%+2:D%=D%+2 1540UNTIL C%>ndata% 1550A%=A%+1:B%=B%+1 1560UNTIL A%=4 1570ENDPROC 1580DEFPROCborder 1590MOVE 100,100:DRAW 1100,100:DRAW 1100,1000:DRAW 100,1000:DRAW 100,100 1600ENDPROC 1610DEFPROCsys:REPEAT:*FX21,0 1620X%=OPENUP(":0.MAIN"):CLOSE#0 1630IF X%=0 CLS:PRINTTAB(0,10)"Insert System Disc in drive 0"''"and press any key to continue":REPEATUNTILGET 1640UNTIL X%<>0 1650ENDPROC 1660DEFPROCkey:PRINT''"PRESS A KEY":*FX21,0 1670K%=GET 1680ENDPROC 1690DEFPROCdump 1700*:0.PRINT16 1710ENDPROC 1720REM Delete following code - only called once 1730*FX229,0 1740MODE0 1750VDU23;8202;0;0;0; 1760PROCsys 1770X%=OPENUP(":0.YEAR") 1780IF X%=0 CLS:PRINTTAB(0,10)"File 'YEAR' does not exist."''"Go to MAIN panel and select each"'"required Index/Portfolio in turn."''"To return to MAIN":PROCkey:PROChain("MAIN") 1790INPUT#X%,U%,V%,W%,Y% 1800IF EXT#X%>&14 INPUT#X%,F%,H% ELSE H%=60:F%=30:I%=FALSE:L%=FALSE 1810CLOSE#0 1820IF F%>200 F%=F%-256:J%=FALSE ELSE J%=TRUE 1830IF H%>200 H%=H%-256:L%=FALSE ELSE L%=TRUE 1840$&1500="Press <ESCAPE> to exit, <P> to print, any other key to continue." 1850IF C%=0 OR D%=0 N%=0 ELSE N%=1 1860!(PAGE+4)=&F4:RESTORE 1720:I%=2+!&1C AND &FFFF:REPEAT:I%=I%-1:UNTIL I%?-1=&0D:?I%=&FF:!&12=I%+1:RUN
� �txF � PORTFOLIO - PLOT � (C) Jon Leighton Nov 1988 (� �#0:�:�hain("ANALYSE") 2&� str%(1),PF%(1),NONE%(1),year%(3) <3year%(0)=U%:year%(1)=V%:year%(2)=W%:year%(3)=Y% Ff%=J%:h%=L% P�cptr%=0:ptr%=0:max=0:min=0:omax=0:omin=0:scale=0:xdif=0:fmax=0:Y=0:fptr%=158:cdptr%=160:disc%=165:mxmn%=171:b$=" ":share$=b$:npts%=0:press$=$&1500:av1%=&1600:av2%=&1700 Z&� Z%=5 A%=0:B%=0:N%=1:�cont:� �Dx@ d �plot:�6,30)press$;:*FX21,0 nA%=� � &DF:� A%=80 �dump x� ��hain("ANALYSE") �(��hain(A$):�sys:�""":0.$."+A$+"""":� �.��axes:�border:� N%=1 � 100,550:� 1100,550 �� �L��plot:S%=0:R%=0:str%(0)=C%-2:str%(1)=D%-2:PF%(0)=A%:PF%(1)=B%:Y1=0:Y2=0 �� I%=0�1:NONE%(I%)=�:�open �� G%=0 NONE%(I%)=�:� �d~A �"� share$=b$ NONE%(I%)=�:� �d~A �� N%=0 T%=1 �� N%=1 T%=1+(I%*14) �0� str%(I%)>=0 ptr%=frec%+str%(I%)*2 � � �THB � �axes ��7,T%)share$;" ";:�date � f% ��(F%); � f% � h% �" and "; � h% ��(H%); "� f% � h% �" day average"; ,� f% � h% �"s" 6 �scale @/� npts%<2 �30,T%+10)"Only 1 point.":� �d~A J4�antte:X=100:�#G%=ptr%:oldptr%=0:M%=-1:E%=X:Q%=X T�:�gp:X=X+xdif:� Y<>0 ^ �start h� f% � h% �aver r&� ptr%>fptr%+ndata%*2 oldptr%=ptr% |� X,Y:X=X+xdif:oldY=Y �5�:�#0:�open2:� oldptr%>0 � ptr%=oldptr%:oldptr%=0 �L%=cptr%+ndata%*2-2 � �:�gp �� f% � h% �aver �%� f% � X>E%+10 � X,Y1:� X,Y1:E%=X �%� h% � X>Q%+20 � X,Y2:� X,Y2:Q%=X �%� Z%>0 � X-xdif,oldY:� X,Y:oldY=Y �X=X+xdif �npts%=npts%-1 � � ptr%>L% �nyears%=nyears%-1 �� npts%=1 � nyears%<0 ��#0 � � ��aver:M%=M%+1:V%=M% � 256 &� Y>0 P%=Y 0%av1%?V%=P% � 256:av2%?V%=P% � 256 :W%=V%-F%:� W%<0 W%=W%+256 D&Fav=Fav-(av1%?W%)*256-(av2%?W%)+P% NW%=V%-H%:� W%<0 W%=W%+256 X&Hav=Hav-(av1%?W%)*256-(av2%?W%)+P% b Y1=Fav/F% l Y2=Hav/H% v� ���start �Fav=Y*F%:Hav=Y*H% �;� W%=1�H%:av1%?(256-W%)=Y � 256:av2%?(256-W%)=Y � 256:� �� � ��open �� str%(I%)<0 � ��ff �� nyears%=0 � � �6nyears%=nyears%-1:�open2:�#G%=str%(I%)*7:share$="" �$� J%=1�7:share$=share$+�(�#G%):� �� share$=b$:� �6�getdmy:G%=�(�(year%(PF%(I%))-nyears%)+�(PF%(I%))) �� ��ff nyears%=0 � .G%=�(�(year%(PF%(I%))-nyears%)+�(PF%(I%))) *�#0 4� G%=0 � �DHC >nyears%=nyears%+1 H � G%=0 R� G%+nyears%=0 � � \$� PF%(I%)=0 ndata%=1 � ndata%=20 fnpts%=0:omin=9999:omax=0 pP� K%=0�nyears%-1:G%=�(�(year%(PF%(I%))-K%)+�(PF%(I%))):�#G%=mxmn%+str%(I%)*4 z.tmin=(�#G%)*256+�#G%:� tmin<omin omin=tmin �.tmax=(�#G%)*256+�#G%:� tmax>omax omax=tmax �n�#G%=fptr%:frec%=(�#G%)*256+�#G%:�#G%=disc%:cptr%=(�#G%)*256+�#G%:npts%=npts%+1+(cptr%-frec%) � (ndata%*2) ��#0 �� �� ����open2:G%=�(�(year%(PF%(I%))-nyears%)+�(PF%(I%))):�#G%=fptr%:frec%=(�#G%)*256+�#G%:�#G%=disc%:cptr%=(�#G%)*256+�#G%:ptr%=frec%+str%(I%)*2 �� �M��getdmy:�#G%=disc%:cptr%=(�#G%)*256+�#G%:d=�#G%:m=�#G%:y=(�#G%)*256+�#G% �� nyears%=0 � �drC ��#0 �&G%=�(�(year%(PF%(I%)))+�(PF%(I%))) �/�#G%=cdptr%:D=�#G%:M=�#G%:Y=(�#G%)*256+�#G% ��#0 � ��date =��(d)+"/"+�(m)+"/"+�(y)+" to "+�(D)+"/"+�(M)+"/"+�(Y)+b$; $� .%��gp:�#G%=ptr%:Z%=(�#G%)*100+�#G% 8� Z%=0 Y=0:� �DjD B� Z%<10 Z%=10 L%�Y=LOG(Z%):Y=(Y-min)*scale/(N%+1) VY=�(Z%):Y=(Y-min)*O `#� N%=1 � I%=0 Y=Y+550 � Y=Y+100 jptr%=ptr%+ndata%*2 t� ~��scale �� npts%<2 � �:�setmxmn:dif=850:scale=dif/(max-min):xdif=1000/(npts%) �� � ��setmxmn �omin=(omin � 10) *10 �� omin<10 omin=10 �!� (omax-omin)<10 omax=omin+10 �8min=�((omin � 10)*10):max=�(omax+((omax-omin) � 10)) �� (max-min)=0 max=1:min=0 �� ���antte �XDIF=10^(�(�(omax-omin))-2) O=scale/(N%+1) F�5:X=(omin � 10)*10:OLDY=-1000:Y=�(X):Y=(Y-min)*O:fmax=960:Y=Y+100 /� N%=1 � I%=0 XDIF=XDIF*(XDIF � 10):Y=Y+450 ,� N%+I%=2 fmax=510:XDIF=XDIF*(XDIF � 10) (� XDIF<1 XDIF=1 2� <� (Y-OLDY)<48 � �DPE FJ� 10,Y+16:OLDY=Y:�;X:� 100,Y:� 120,Y:� 1110,Y+16:�;X:� 1080,Y:� 1100,Y PX=X+XDIF ZY=�(X):Y=100+(Y-min)*O d� N%=1 � I%=0 Y=Y+450 n� Y>fmax � X>9999 x�4 �� � ��cont � A%=0:B%=0 �� � C%=2:D%=3 �� � �plot � � NONE%(0) � NONE%(1) � �dzE ��6,30)press$;:*FX21,0 �Z%=� � &DF �� Z%=80 �dump �� �C%=C%+2:D%=D%+2 � C%>ndata% A%=A%+1:B%=B%+1 � A%=4 "� ,��border 69� 100,100:� 1100,100:� 1100,1000:� 100,1000:� 100,100 @� J��sys:�:*FX21,0 TX%=�(":0.MAIN"):�#0 ^X� X%=0 �:�0,10)"Insert System Disc in drive 0"''"and press any key to continue":��� h� X%<>0 r� |"��key:�''"PRESS A KEY":*FX21,0 �K%=� �� � ��dump �*:0.PRINT16 �� �.� Delete following code - only called once �*FX229,0 ��0 ��23;8202;0;0;0; ��sys �X%=�(":0.YEAR") �� X%=0 �:�0,10)"File 'YEAR' does not exist."''"Go to MAIN panel and select each"'"required Index/Portfolio in turn."''"To return to MAIN":�key:�hain("MAIN") ��#X%,U%,V%,W%,Y% 1� �#X%>&14 �#X%,F%,H% � H%=60:F%=30:I%=�:L%=� �#0 "� F%>200 F%=F%-256:J%=� � J%=� &"� H%>200 H%=H%-256:L%=� � L%=� 0M$&1500="Press <ESCAPE> to exit, <P> to print, any other key to continue." :� C%=0 � D%=0 N%=0 � N%=1 DQ!(�+4)=&F4:� �txF:I%=2+!&1C � &FFFF:�:I%=I%-1:� I%?-1=&0D:?I%=&FF:!&12=I%+1:� �
00000000 0d 00 0a 0a e5 20 8d 74 78 46 0d 00 14 16 f4 20 |..... .txF..... | 00000010 50 4f 52 54 46 4f 4c 49 4f 20 2d 20 50 4c 4f 54 |PORTFOLIO - PLOT| 00000020 0d 00 1e 1f f4 20 28 43 29 20 4a 6f 6e 20 4c 65 |..... (C) Jon Le| 00000030 69 67 68 74 6f 6e 20 4e 6f 76 20 31 39 38 38 0d |ighton Nov 1988.| 00000040 00 28 1d ee 85 20 d9 23 30 3a db 3a f2 68 61 69 |.(... .#0:.:.hai| 00000050 6e 28 22 41 4e 41 4c 59 53 45 22 29 0d 00 32 26 |n("ANALYSE")..2&| 00000060 de 20 73 74 72 25 28 31 29 2c 50 46 25 28 31 29 |. str%(1),PF%(1)| 00000070 2c 4e 4f 4e 45 25 28 31 29 2c 79 65 61 72 25 28 |,NONE%(1),year%(| 00000080 33 29 0d 00 3c 33 79 65 61 72 25 28 30 29 3d 55 |3)..<3year%(0)=U| 00000090 25 3a 79 65 61 72 25 28 31 29 3d 56 25 3a 79 65 |%:year%(1)=V%:ye| 000000a0 61 72 25 28 32 29 3d 57 25 3a 79 65 61 72 25 28 |ar%(2)=W%:year%(| 000000b0 33 29 3d 59 25 0d 00 46 0f 66 25 3d 4a 25 3a 68 |3)=Y%..F.f%=J%:h| 000000c0 25 3d 4c 25 0d 00 50 b2 63 70 74 72 25 3d 30 3a |%=L%..P.cptr%=0:| 000000d0 70 74 72 25 3d 30 3a 6d 61 78 3d 30 3a 6d 69 6e |ptr%=0:max=0:min| 000000e0 3d 30 3a 6f 6d 61 78 3d 30 3a 6f 6d 69 6e 3d 30 |=0:omax=0:omin=0| 000000f0 3a 73 63 61 6c 65 3d 30 3a 78 64 69 66 3d 30 3a |:scale=0:xdif=0:| 00000100 66 6d 61 78 3d 30 3a 59 3d 30 3a 66 70 74 72 25 |fmax=0:Y=0:fptr%| 00000110 3d 31 35 38 3a 63 64 70 74 72 25 3d 31 36 30 3a |=158:cdptr%=160:| 00000120 64 69 73 63 25 3d 31 36 35 3a 6d 78 6d 6e 25 3d |disc%=165:mxmn%=| 00000130 31 37 31 3a 62 24 3d 22 20 20 20 20 20 20 20 22 |171:b$=" "| 00000140 3a 73 68 61 72 65 24 3d 62 24 3a 6e 70 74 73 25 |:share$=b$:npts%| 00000150 3d 30 3a 70 72 65 73 73 24 3d 24 26 31 35 30 30 |=0:press$=$&1500| 00000160 3a 61 76 31 25 3d 26 31 36 30 30 3a 61 76 32 25 |:av1%=&1600:av2%| 00000170 3d 26 31 37 30 30 0d 00 5a 26 e7 20 5a 25 3d 35 |=&1700..Z&. Z%=5| 00000180 20 41 25 3d 30 3a 42 25 3d 30 3a 4e 25 3d 31 3a | A%=0:B%=0:N%=1:| 00000190 f2 63 6f 6e 74 3a e5 20 8d 44 78 40 0d 00 64 20 |.cont:. .Dx@..d | 000001a0 f2 70 6c 6f 74 3a f1 8a 36 2c 33 30 29 70 72 65 |.plot:..6,30)pre| 000001b0 73 73 24 3b 3a 2a 46 58 32 31 2c 30 0d 00 6e 1c |ss$;:*FX21,0..n.| 000001c0 41 25 3d a5 20 80 20 26 44 46 3a e7 20 41 25 3d |A%=. . &DF:. A%=| 000001d0 38 30 20 f2 64 75 6d 70 0d 00 78 05 db 0d 00 82 |80 .dump..x.....| 000001e0 14 f2 68 61 69 6e 28 22 41 4e 41 4c 59 53 45 22 |..hain("ANALYSE"| 000001f0 29 0d 00 8c 28 dd f2 68 61 69 6e 28 41 24 29 3a |)...(..hain(A$):| 00000200 f2 73 79 73 3a d7 22 22 22 3a 30 2e 24 2e 22 2b |.sys:.""":0.$."+| 00000210 41 24 2b 22 22 22 22 3a e1 0d 00 96 2e dd f2 61 |A$+"""":.......a| 00000220 78 65 73 3a f2 62 6f 72 64 65 72 3a e7 20 4e 25 |xes:.border:. N%| 00000230 3d 31 20 ec 20 31 30 30 2c 35 35 30 3a df 20 31 |=1 . 100,550:. 1| 00000240 31 30 30 2c 35 35 30 0d 00 a0 05 e1 0d 00 aa 4c |100,550........L| 00000250 dd f2 70 6c 6f 74 3a 53 25 3d 30 3a 52 25 3d 30 |..plot:S%=0:R%=0| 00000260 3a 73 74 72 25 28 30 29 3d 43 25 2d 32 3a 73 74 |:str%(0)=C%-2:st| 00000270 72 25 28 31 29 3d 44 25 2d 32 3a 50 46 25 28 30 |r%(1)=D%-2:PF%(0| 00000280 29 3d 41 25 3a 50 46 25 28 31 29 3d 42 25 3a 59 |)=A%:PF%(1)=B%:Y| 00000290 31 3d 30 3a 59 32 3d 30 0d 00 b4 1e e3 20 49 25 |1=0:Y2=0..... I%| 000002a0 3d 30 b8 31 3a 4e 4f 4e 45 25 28 49 25 29 3d a3 |=0.1:NONE%(I%)=.| 000002b0 3a f2 6f 70 65 6e 0d 00 be 1d e7 20 47 25 3d 30 |:.open..... G%=0| 000002c0 20 4e 4f 4e 45 25 28 49 25 29 3d b9 3a e5 20 8d | NONE%(I%)=.:. .| 000002d0 64 7e 41 0d 00 c8 22 e7 20 73 68 61 72 65 24 3d |d~A...". share$=| 000002e0 62 24 20 4e 4f 4e 45 25 28 49 25 29 3d b9 3a e5 |b$ NONE%(I%)=.:.| 000002f0 20 8d 64 7e 41 0d 00 d2 0f e7 20 4e 25 3d 30 20 | .d~A..... N%=0 | 00000300 54 25 3d 31 0d 00 dc 17 e7 20 4e 25 3d 31 20 54 |T%=1..... N%=1 T| 00000310 25 3d 31 2b 28 49 25 2a 31 34 29 0d 00 e6 30 e7 |%=1+(I%*14)...0.| 00000320 20 73 74 72 25 28 49 25 29 3e 3d 30 20 70 74 72 | str%(I%)>=0 ptr| 00000330 25 3d 66 72 65 63 25 2b 73 74 72 25 28 49 25 29 |%=frec%+str%(I%)| 00000340 2a 32 20 8b 20 e5 20 8d 54 48 42 0d 00 f0 09 f2 |*2 . . .THB.....| 00000350 61 78 65 73 0d 00 fa 1c f1 8a 37 2c 54 25 29 73 |axes......7,T%)s| 00000360 68 61 72 65 24 3b 22 20 22 3b 3a f2 64 61 74 65 |hare$;" ";:.date| 00000370 0d 01 04 10 e7 20 66 25 20 f1 c3 28 46 25 29 3b |..... f% ..(F%);| 00000380 0d 01 0e 17 e7 20 66 25 20 80 20 68 25 20 f1 22 |..... f% . h% ."| 00000390 20 61 6e 64 20 22 3b 0d 01 18 10 e7 20 68 25 20 | and ";..... h% | 000003a0 f1 c3 28 48 25 29 3b 0d 01 22 1e e7 20 66 25 20 |..(H%);..".. f% | 000003b0 84 20 68 25 20 f1 22 20 64 61 79 20 61 76 65 72 |. h% ." day aver| 000003c0 61 67 65 22 3b 0d 01 2c 12 e7 20 66 25 20 80 20 |age";..,.. f% . | 000003d0 68 25 20 f1 22 73 22 0d 01 36 0a f2 73 63 61 6c |h% ."s"..6..scal| 000003e0 65 0d 01 40 2f e7 20 6e 70 74 73 25 3c 32 20 f1 |e..@/. npts%<2 .| 000003f0 8a 33 30 2c 54 25 2b 31 30 29 22 4f 6e 6c 79 20 |.30,T%+10)"Only | 00000400 31 20 70 6f 69 6e 74 2e 22 3a e5 20 8d 64 7e 41 |1 point.":. .d~A| 00000410 0d 01 4a 34 f2 61 6e 74 74 65 3a 58 3d 31 30 30 |..J4.antte:X=100| 00000420 3a cf 23 47 25 3d 70 74 72 25 3a 6f 6c 64 70 74 |:.#G%=ptr%:oldpt| 00000430 72 25 3d 30 3a 4d 25 3d 2d 31 3a 45 25 3d 58 3a |r%=0:M%=-1:E%=X:| 00000440 51 25 3d 58 0d 01 54 19 f5 3a f2 67 70 3a 58 3d |Q%=X..T..:.gp:X=| 00000450 58 2b 78 64 69 66 3a fd 20 59 3c 3e 30 0d 01 5e |X+xdif:. Y<>0..^| 00000460 0a f2 73 74 61 72 74 0d 01 68 13 e7 20 66 25 20 |..start..h.. f% | 00000470 84 20 68 25 20 f2 61 76 65 72 0d 01 72 26 e7 20 |. h% .aver..r&. | 00000480 70 74 72 25 3e 66 70 74 72 25 2b 6e 64 61 74 61 |ptr%>fptr%+ndata| 00000490 25 2a 32 20 6f 6c 64 70 74 72 25 3d 70 74 72 25 |%*2 oldptr%=ptr%| 000004a0 0d 01 7c 19 ec 20 58 2c 59 3a 58 3d 58 2b 78 64 |..|.. X,Y:X=X+xd| 000004b0 69 66 3a 6f 6c 64 59 3d 59 0d 01 86 35 f5 3a d9 |if:oldY=Y...5.:.| 000004c0 23 30 3a f2 6f 70 65 6e 32 3a e7 20 6f 6c 64 70 |#0:.open2:. oldp| 000004d0 74 72 25 3e 30 20 8c 20 70 74 72 25 3d 6f 6c 64 |tr%>0 . ptr%=old| 000004e0 70 74 72 25 3a 6f 6c 64 70 74 72 25 3d 30 0d 01 |ptr%:oldptr%=0..| 000004f0 90 17 4c 25 3d 63 70 74 72 25 2b 6e 64 61 74 61 |..L%=cptr%+ndata| 00000500 25 2a 32 2d 32 0d 01 9a 09 f5 3a f2 67 70 0d 01 |%*2-2.....:.gp..| 00000510 a4 13 e7 20 66 25 20 84 20 68 25 20 f2 61 76 65 |... f% . h% .ave| 00000520 72 0d 01 ae 25 e7 20 66 25 20 80 20 58 3e 45 25 |r...%. f% . X>E%| 00000530 2b 31 30 20 ec 20 58 2c 59 31 3a df 20 58 2c 59 |+10 . X,Y1:. X,Y| 00000540 31 3a 45 25 3d 58 0d 01 b8 25 e7 20 68 25 20 80 |1:E%=X...%. h% .| 00000550 20 58 3e 51 25 2b 32 30 20 ec 20 58 2c 59 32 3a | X>Q%+20 . X,Y2:| 00000560 df 20 58 2c 59 32 3a 51 25 3d 58 0d 01 c2 25 e7 |. X,Y2:Q%=X...%.| 00000570 20 5a 25 3e 30 20 ec 20 58 2d 78 64 69 66 2c 6f | Z%>0 . X-xdif,o| 00000580 6c 64 59 3a df 20 58 2c 59 3a 6f 6c 64 59 3d 59 |ldY:. X,Y:oldY=Y| 00000590 0d 01 cc 0c 58 3d 58 2b 78 64 69 66 0d 01 d6 11 |....X=X+xdif....| 000005a0 6e 70 74 73 25 3d 6e 70 74 73 25 2d 31 0d 01 e0 |npts%=npts%-1...| 000005b0 0d fd 20 70 74 72 25 3e 4c 25 0d 01 ea 15 6e 79 |.. ptr%>L%....ny| 000005c0 65 61 72 73 25 3d 6e 79 65 61 72 73 25 2d 31 0d |ears%=nyears%-1.| 000005d0 01 f4 19 fd 20 6e 70 74 73 25 3d 31 20 84 20 6e |.... npts%=1 . n| 000005e0 79 65 61 72 73 25 3c 30 0d 01 fe 07 d9 23 30 0d |years%<0.....#0.| 000005f0 02 08 05 ed 0d 02 12 05 e1 0d 02 1c 1e dd f2 61 |...............a| 00000600 76 65 72 3a 4d 25 3d 4d 25 2b 31 3a 56 25 3d 4d |ver:M%=M%+1:V%=M| 00000610 25 20 83 20 32 35 36 0d 02 26 0e e7 20 59 3e 30 |% . 256..&.. Y>0| 00000620 20 50 25 3d 59 0d 02 30 25 61 76 31 25 3f 56 25 | P%=Y..0%av1%?V%| 00000630 3d 50 25 20 81 20 32 35 36 3a 61 76 32 25 3f 56 |=P% . 256:av2%?V| 00000640 25 3d 50 25 20 83 20 32 35 36 0d 02 3a 1d 57 25 |%=P% . 256..:.W%| 00000650 3d 56 25 2d 46 25 3a e7 20 57 25 3c 30 20 57 25 |=V%-F%:. W%<0 W%| 00000660 3d 57 25 2b 32 35 36 0d 02 44 26 46 61 76 3d 46 |=W%+256..D&Fav=F| 00000670 61 76 2d 28 61 76 31 25 3f 57 25 29 2a 32 35 36 |av-(av1%?W%)*256| 00000680 2d 28 61 76 32 25 3f 57 25 29 2b 50 25 0d 02 4e |-(av2%?W%)+P%..N| 00000690 1d 57 25 3d 56 25 2d 48 25 3a e7 20 57 25 3c 30 |.W%=V%-H%:. W%<0| 000006a0 20 57 25 3d 57 25 2b 32 35 36 0d 02 58 26 48 61 | W%=W%+256..X&Ha| 000006b0 76 3d 48 61 76 2d 28 61 76 31 25 3f 57 25 29 2a |v=Hav-(av1%?W%)*| 000006c0 32 35 36 2d 28 61 76 32 25 3f 57 25 29 2b 50 25 |256-(av2%?W%)+P%| 000006d0 0d 02 62 0d 59 31 3d 46 61 76 2f 46 25 0d 02 6c |..b.Y1=Fav/F%..l| 000006e0 0d 59 32 3d 48 61 76 2f 48 25 0d 02 76 05 e1 0d |.Y2=Hav/H%..v...| 000006f0 02 80 0b dd f2 73 74 61 72 74 0d 02 8a 15 46 61 |.....start....Fa| 00000700 76 3d 59 2a 46 25 3a 48 61 76 3d 59 2a 48 25 0d |v=Y*F%:Hav=Y*H%.| 00000710 02 94 3b e3 20 57 25 3d 31 b8 48 25 3a 61 76 31 |..;. W%=1.H%:av1| 00000720 25 3f 28 32 35 36 2d 57 25 29 3d 59 20 81 20 32 |%?(256-W%)=Y . 2| 00000730 35 36 3a 61 76 32 25 3f 28 32 35 36 2d 57 25 29 |56:av2%?(256-W%)| 00000740 3d 59 20 83 20 32 35 36 3a ed 0d 02 9e 05 e1 0d |=Y . 256:.......| 00000750 02 a8 0a dd f2 6f 70 65 6e 0d 02 b2 12 e7 20 73 |.....open..... s| 00000760 74 72 25 28 49 25 29 3c 30 20 e1 0d 02 bc 07 f2 |tr%(I%)<0 ......| 00000770 66 66 0d 02 c6 13 e7 20 6e 79 65 61 72 73 25 3d |ff..... nyears%=| 00000780 30 20 8c 20 e1 0d 02 d0 36 6e 79 65 61 72 73 25 |0 . ....6nyears%| 00000790 3d 6e 79 65 61 72 73 25 2d 31 3a f2 6f 70 65 6e |=nyears%-1:.open| 000007a0 32 3a cf 23 47 25 3d 73 74 72 25 28 49 25 29 2a |2:.#G%=str%(I%)*| 000007b0 37 3a 73 68 61 72 65 24 3d 22 22 0d 02 da 24 e3 |7:share$=""...$.| 000007c0 20 4a 25 3d 31 b8 37 3a 73 68 61 72 65 24 3d 73 | J%=1.7:share$=s| 000007d0 68 61 72 65 24 2b bd 28 9a 23 47 25 29 3a ed 0d |hare$+.(.#G%):..| 000007e0 02 e4 11 e7 20 73 68 61 72 65 24 3d 62 24 3a e1 |.... share$=b$:.| 000007f0 0d 02 ee 36 f2 67 65 74 64 6d 79 3a 47 25 3d ad |...6.getdmy:G%=.| 00000800 28 c3 28 79 65 61 72 25 28 50 46 25 28 49 25 29 |(.(year%(PF%(I%)| 00000810 29 2d 6e 79 65 61 72 73 25 29 2b c3 28 50 46 25 |)-nyears%)+.(PF%| 00000820 28 49 25 29 29 29 0d 02 f8 05 e1 0d 03 02 08 dd |(I%)))..........| 00000830 f2 66 66 0d 03 0c 0d 6e 79 65 61 72 73 25 3d 30 |.ff....nyears%=0| 00000840 0d 03 16 05 f5 0d 03 20 2e 47 25 3d ad 28 c3 28 |....... .G%=.(.(| 00000850 79 65 61 72 25 28 50 46 25 28 49 25 29 29 2d 6e |year%(PF%(I%))-n| 00000860 79 65 61 72 73 25 29 2b c3 28 50 46 25 28 49 25 |years%)+.(PF%(I%| 00000870 29 29 29 0d 03 2a 07 d9 23 30 0d 03 34 11 e7 20 |)))..*..#0..4.. | 00000880 47 25 3d 30 20 e5 20 8d 44 48 43 0d 03 3e 15 6e |G%=0 . .DHC..>.n| 00000890 79 65 61 72 73 25 3d 6e 79 65 61 72 73 25 2b 31 |years%=nyears%+1| 000008a0 0d 03 48 0a fd 20 47 25 3d 30 0d 03 52 16 e7 20 |..H.. G%=0..R.. | 000008b0 47 25 2b 6e 79 65 61 72 73 25 3d 30 20 8c 20 e1 |G%+nyears%=0 . .| 000008c0 0d 03 5c 24 e7 20 50 46 25 28 49 25 29 3d 30 20 |..\$. PF%(I%)=0 | 000008d0 6e 64 61 74 61 25 3d 31 20 8b 20 6e 64 61 74 61 |ndata%=1 . ndata| 000008e0 25 3d 32 30 0d 03 66 1c 6e 70 74 73 25 3d 30 3a |%=20..f.npts%=0:| 000008f0 6f 6d 69 6e 3d 39 39 39 39 3a 6f 6d 61 78 3d 30 |omin=9999:omax=0| 00000900 0d 03 70 50 e3 20 4b 25 3d 30 b8 6e 79 65 61 72 |..pP. K%=0.nyear| 00000910 73 25 2d 31 3a 47 25 3d ad 28 c3 28 79 65 61 72 |s%-1:G%=.(.(year| 00000920 25 28 50 46 25 28 49 25 29 29 2d 4b 25 29 2b c3 |%(PF%(I%))-K%)+.| 00000930 28 50 46 25 28 49 25 29 29 29 3a cf 23 47 25 3d |(PF%(I%))):.#G%=| 00000940 6d 78 6d 6e 25 2b 73 74 72 25 28 49 25 29 2a 34 |mxmn%+str%(I%)*4| 00000950 0d 03 7a 2e 74 6d 69 6e 3d 28 9a 23 47 25 29 2a |..z.tmin=(.#G%)*| 00000960 32 35 36 2b 9a 23 47 25 3a e7 20 74 6d 69 6e 3c |256+.#G%:. tmin<| 00000970 6f 6d 69 6e 20 6f 6d 69 6e 3d 74 6d 69 6e 0d 03 |omin omin=tmin..| 00000980 84 2e 74 6d 61 78 3d 28 9a 23 47 25 29 2a 32 35 |..tmax=(.#G%)*25| 00000990 36 2b 9a 23 47 25 3a e7 20 74 6d 61 78 3e 6f 6d |6+.#G%:. tmax>om| 000009a0 61 78 20 6f 6d 61 78 3d 74 6d 61 78 0d 03 8e 6e |ax omax=tmax...n| 000009b0 cf 23 47 25 3d 66 70 74 72 25 3a 66 72 65 63 25 |.#G%=fptr%:frec%| 000009c0 3d 28 9a 23 47 25 29 2a 32 35 36 2b 9a 23 47 25 |=(.#G%)*256+.#G%| 000009d0 3a cf 23 47 25 3d 64 69 73 63 25 3a 63 70 74 72 |:.#G%=disc%:cptr| 000009e0 25 3d 28 9a 23 47 25 29 2a 32 35 36 2b 9a 23 47 |%=(.#G%)*256+.#G| 000009f0 25 3a 6e 70 74 73 25 3d 6e 70 74 73 25 2b 31 2b |%:npts%=npts%+1+| 00000a00 28 63 70 74 72 25 2d 66 72 65 63 25 29 20 81 20 |(cptr%-frec%) . | 00000a10 28 6e 64 61 74 61 25 2a 32 29 0d 03 98 07 d9 23 |(ndata%*2).....#| 00000a20 30 0d 03 a2 05 ed 0d 03 ac 05 e1 0d 03 b6 8e dd |0...............| 00000a30 f2 6f 70 65 6e 32 3a 47 25 3d ad 28 c3 28 79 65 |.open2:G%=.(.(ye| 00000a40 61 72 25 28 50 46 25 28 49 25 29 29 2d 6e 79 65 |ar%(PF%(I%))-nye| 00000a50 61 72 73 25 29 2b c3 28 50 46 25 28 49 25 29 29 |ars%)+.(PF%(I%))| 00000a60 29 3a cf 23 47 25 3d 66 70 74 72 25 3a 66 72 65 |):.#G%=fptr%:fre| 00000a70 63 25 3d 28 9a 23 47 25 29 2a 32 35 36 2b 9a 23 |c%=(.#G%)*256+.#| 00000a80 47 25 3a cf 23 47 25 3d 64 69 73 63 25 3a 63 70 |G%:.#G%=disc%:cp| 00000a90 74 72 25 3d 28 9a 23 47 25 29 2a 32 35 36 2b 9a |tr%=(.#G%)*256+.| 00000aa0 23 47 25 3a 70 74 72 25 3d 66 72 65 63 25 2b 73 |#G%:ptr%=frec%+s| 00000ab0 74 72 25 28 49 25 29 2a 32 0d 03 c0 05 e1 0d 03 |tr%(I%)*2.......| 00000ac0 ca 4d dd f2 67 65 74 64 6d 79 3a cf 23 47 25 3d |.M..getdmy:.#G%=| 00000ad0 64 69 73 63 25 3a 63 70 74 72 25 3d 28 9a 23 47 |disc%:cptr%=(.#G| 00000ae0 25 29 2a 32 35 36 2b 9a 23 47 25 3a 64 3d 9a 23 |%)*256+.#G%:d=.#| 00000af0 47 25 3a 6d 3d 9a 23 47 25 3a 79 3d 28 9a 23 47 |G%:m=.#G%:y=(.#G| 00000b00 25 29 2a 32 35 36 2b 9a 23 47 25 0d 03 d4 16 e7 |%)*256+.#G%.....| 00000b10 20 6e 79 65 61 72 73 25 3d 30 20 e5 20 8d 64 72 | nyears%=0 . .dr| 00000b20 43 0d 03 de 07 d9 23 30 0d 03 e8 26 47 25 3d ad |C.....#0...&G%=.| 00000b30 28 c3 28 79 65 61 72 25 28 50 46 25 28 49 25 29 |(.(year%(PF%(I%)| 00000b40 29 29 2b c3 28 50 46 25 28 49 25 29 29 29 0d 03 |))+.(PF%(I%)))..| 00000b50 f2 2f cf 23 47 25 3d 63 64 70 74 72 25 3a 44 3d |./.#G%=cdptr%:D=| 00000b60 9a 23 47 25 3a 4d 3d 9a 23 47 25 3a 59 3d 28 9a |.#G%:M=.#G%:Y=(.| 00000b70 23 47 25 29 2a 32 35 36 2b 9a 23 47 25 0d 03 fc |#G%)*256+.#G%...| 00000b80 07 d9 23 30 0d 04 06 05 e1 0d 04 10 0a dd f2 64 |..#0...........d| 00000b90 61 74 65 0d 04 1a 3d f1 c3 28 64 29 2b 22 2f 22 |ate...=..(d)+"/"| 00000ba0 2b c3 28 6d 29 2b 22 2f 22 2b c3 28 79 29 2b 22 |+.(m)+"/"+.(y)+"| 00000bb0 20 74 6f 20 22 2b c3 28 44 29 2b 22 2f 22 2b c3 | to "+.(D)+"/"+.| 00000bc0 28 4d 29 2b 22 2f 22 2b c3 28 59 29 2b 62 24 3b |(M)+"/"+.(Y)+b$;| 00000bd0 0d 04 24 05 e1 0d 04 2e 25 dd f2 67 70 3a cf 23 |..$.....%..gp:.#| 00000be0 47 25 3d 70 74 72 25 3a 5a 25 3d 28 9a 23 47 25 |G%=ptr%:Z%=(.#G%| 00000bf0 29 2a 31 30 30 2b 9a 23 47 25 0d 04 38 15 e7 20 |)*100+.#G%..8.. | 00000c00 5a 25 3d 30 20 59 3d 30 3a e5 20 8d 44 6a 44 0d |Z%=0 Y=0:. .DjD.| 00000c10 04 42 11 e7 20 5a 25 3c 31 30 20 5a 25 3d 31 30 |.B.. Z%<10 Z%=10| 00000c20 0d 04 4c 25 f4 59 3d 4c 4f 47 28 5a 25 29 3a 59 |..L%.Y=LOG(Z%):Y| 00000c30 3d 28 59 2d 6d 69 6e 29 2a 73 63 61 6c 65 2f 28 |=(Y-min)*scale/(| 00000c40 4e 25 2b 31 29 0d 04 56 17 59 3d ab 28 5a 25 29 |N%+1)..V.Y=.(Z%)| 00000c50 3a 59 3d 28 59 2d 6d 69 6e 29 2a 4f 0d 04 60 23 |:Y=(Y-min)*O..`#| 00000c60 e7 20 4e 25 3d 31 20 80 20 49 25 3d 30 20 59 3d |. N%=1 . I%=0 Y=| 00000c70 59 2b 35 35 30 20 8b 20 59 3d 59 2b 31 30 30 0d |Y+550 . Y=Y+100.| 00000c80 04 6a 16 70 74 72 25 3d 70 74 72 25 2b 6e 64 61 |.j.ptr%=ptr%+nda| 00000c90 74 61 25 2a 32 0d 04 74 05 e1 0d 04 7e 0b dd f2 |ta%*2..t....~...| 00000ca0 73 63 61 6c 65 0d 04 88 0f e7 20 6e 70 74 73 25 |scale..... npts%| 00000cb0 3c 32 20 e1 0d 04 92 3a f2 73 65 74 6d 78 6d 6e |<2 ....:.setmxmn| 00000cc0 3a 64 69 66 3d 38 35 30 3a 73 63 61 6c 65 3d 64 |:dif=850:scale=d| 00000cd0 69 66 2f 28 6d 61 78 2d 6d 69 6e 29 3a 78 64 69 |if/(max-min):xdi| 00000ce0 66 3d 31 30 30 30 2f 28 6e 70 74 73 25 29 0d 04 |f=1000/(npts%)..| 00000cf0 9c 05 e1 0d 04 a6 0d dd f2 73 65 74 6d 78 6d 6e |.........setmxmn| 00000d00 0d 04 b0 18 6f 6d 69 6e 3d 28 6f 6d 69 6e 20 81 |....omin=(omin .| 00000d10 20 31 30 29 20 2a 31 30 0d 04 ba 15 e7 20 6f 6d | 10) *10..... om| 00000d20 69 6e 3c 31 30 20 6f 6d 69 6e 3d 31 30 0d 04 c4 |in<10 omin=10...| 00000d30 21 e7 20 28 6f 6d 61 78 2d 6f 6d 69 6e 29 3c 31 |!. (omax-omin)<1| 00000d40 30 20 6f 6d 61 78 3d 6f 6d 69 6e 2b 31 30 0d 04 |0 omax=omin+10..| 00000d50 ce 38 6d 69 6e 3d ab 28 28 6f 6d 69 6e 20 81 20 |.8min=.((omin . | 00000d60 31 30 29 2a 31 30 29 3a 6d 61 78 3d ab 28 6f 6d |10)*10):max=.(om| 00000d70 61 78 2b 28 28 6f 6d 61 78 2d 6f 6d 69 6e 29 20 |ax+((omax-omin) | 00000d80 81 20 31 30 29 29 0d 04 d8 1d e7 20 28 6d 61 78 |. 10))..... (max| 00000d90 2d 6d 69 6e 29 3d 30 20 6d 61 78 3d 31 3a 6d 69 |-min)=0 max=1:mi| 00000da0 6e 3d 30 0d 04 e2 05 e1 0d 04 ec 0b dd f2 61 6e |n=0...........an| 00000db0 74 74 65 0d 04 f6 1f 58 44 49 46 3d 31 30 5e 28 |tte....XDIF=10^(| 00000dc0 a9 28 c3 28 6f 6d 61 78 2d 6f 6d 69 6e 29 29 2d |.(.(omax-omin))-| 00000dd0 32 29 0d 05 00 12 4f 3d 73 63 61 6c 65 2f 28 4e |2)....O=scale/(N| 00000de0 25 2b 31 29 0d 05 0a 46 ef 35 3a 58 3d 28 6f 6d |%+1)...F.5:X=(om| 00000df0 69 6e 20 81 20 31 30 29 2a 31 30 3a 4f 4c 44 59 |in . 10)*10:OLDY| 00000e00 3d 2d 31 30 30 30 3a 59 3d ab 28 58 29 3a 59 3d |=-1000:Y=.(X):Y=| 00000e10 28 59 2d 6d 69 6e 29 2a 4f 3a 66 6d 61 78 3d 39 |(Y-min)*O:fmax=9| 00000e20 36 30 3a 59 3d 59 2b 31 30 30 0d 05 14 2f e7 20 |60:Y=Y+100.../. | 00000e30 4e 25 3d 31 20 80 20 49 25 3d 30 20 58 44 49 46 |N%=1 . I%=0 XDIF| 00000e40 3d 58 44 49 46 2a 28 58 44 49 46 20 81 20 31 30 |=XDIF*(XDIF . 10| 00000e50 29 3a 59 3d 59 2b 34 35 30 0d 05 1e 2c e7 20 4e |):Y=Y+450...,. N| 00000e60 25 2b 49 25 3d 32 20 66 6d 61 78 3d 35 31 30 3a |%+I%=2 fmax=510:| 00000e70 58 44 49 46 3d 58 44 49 46 2a 28 58 44 49 46 20 |XDIF=XDIF*(XDIF | 00000e80 81 20 31 30 29 0d 05 28 13 e7 20 58 44 49 46 3c |. 10)..(.. XDIF<| 00000e90 31 20 58 44 49 46 3d 31 0d 05 32 05 f5 0d 05 3c |1 XDIF=1..2....<| 00000ea0 18 e7 20 28 59 2d 4f 4c 44 59 29 3c 34 38 20 e5 |.. (Y-OLDY)<48 .| 00000eb0 20 8d 44 50 45 0d 05 46 4a ec 20 31 30 2c 59 2b | .DPE..FJ. 10,Y+| 00000ec0 31 36 3a 4f 4c 44 59 3d 59 3a f1 3b 58 3a ec 20 |16:OLDY=Y:.;X:. | 00000ed0 31 30 30 2c 59 3a df 20 31 32 30 2c 59 3a ec 20 |100,Y:. 120,Y:. | 00000ee0 31 31 31 30 2c 59 2b 31 36 3a f1 3b 58 3a ec 20 |1110,Y+16:.;X:. | 00000ef0 31 30 38 30 2c 59 3a df 20 31 31 30 30 2c 59 0d |1080,Y:. 1100,Y.| 00000f00 05 50 0c 58 3d 58 2b 58 44 49 46 0d 05 5a 1a 59 |.P.X=X+XDIF..Z.Y| 00000f10 3d ab 28 58 29 3a 59 3d 31 30 30 2b 28 59 2d 6d |=.(X):Y=100+(Y-m| 00000f20 69 6e 29 2a 4f 0d 05 64 19 e7 20 4e 25 3d 31 20 |in)*O..d.. N%=1 | 00000f30 80 20 49 25 3d 30 20 59 3d 59 2b 34 35 30 0d 05 |. I%=0 Y=Y+450..| 00000f40 6e 15 fd 20 59 3e 66 6d 61 78 20 84 20 58 3e 39 |n.. Y>fmax . X>9| 00000f50 39 39 39 0d 05 78 06 ef 34 0d 05 82 05 e1 0d 05 |999..x..4.......| 00000f60 8c 0a dd f2 63 6f 6e 74 0d 05 96 0d 41 25 3d 30 |....cont....A%=0| 00000f70 3a 42 25 3d 30 0d 05 a0 05 f5 0d 05 aa 0d 43 25 |:B%=0.........C%| 00000f80 3d 32 3a 44 25 3d 33 0d 05 b4 05 f5 0d 05 be 09 |=2:D%=3.........| 00000f90 f2 70 6c 6f 74 0d 05 c8 20 e7 20 4e 4f 4e 45 25 |.plot... . NONE%| 00000fa0 28 30 29 20 80 20 4e 4f 4e 45 25 28 31 29 20 e5 |(0) . NONE%(1) .| 00000fb0 20 8d 64 7a 45 0d 05 d2 1a f1 8a 36 2c 33 30 29 | .dzE......6,30)| 00000fc0 70 72 65 73 73 24 3b 3a 2a 46 58 32 31 2c 30 0d |press$;:*FX21,0.| 00000fd0 05 dc 0e 5a 25 3d a5 20 80 20 26 44 46 0d 05 e6 |...Z%=. . &DF...| 00000fe0 11 e7 20 5a 25 3d 38 30 20 f2 64 75 6d 70 0d 05 |.. Z%=80 .dump..| 00000ff0 f0 05 db 0d 05 fa 13 43 25 3d 43 25 2b 32 3a 44 |.......C%=C%+2:D| 00001000 25 3d 44 25 2b 32 0d 06 04 0f fd 20 43 25 3e 6e |%=D%+2..... C%>n| 00001010 64 61 74 61 25 0d 06 0e 13 41 25 3d 41 25 2b 31 |data%....A%=A%+1| 00001020 3a 42 25 3d 42 25 2b 31 0d 06 18 0a fd 20 41 25 |:B%=B%+1..... A%| 00001030 3d 34 0d 06 22 05 e1 0d 06 2c 0c dd f2 62 6f 72 |=4.."....,...bor| 00001040 64 65 72 0d 06 36 39 ec 20 31 30 30 2c 31 30 30 |der..69. 100,100| 00001050 3a df 20 31 31 30 30 2c 31 30 30 3a df 20 31 31 |:. 1100,100:. 11| 00001060 30 30 2c 31 30 30 30 3a df 20 31 30 30 2c 31 30 |00,1000:. 100,10| 00001070 30 30 3a df 20 31 30 30 2c 31 30 30 0d 06 40 05 |00:. 100,100..@.| 00001080 e1 0d 06 4a 13 dd f2 73 79 73 3a f5 3a 2a 46 58 |...J...sys:.:*FX| 00001090 32 31 2c 30 0d 06 54 17 58 25 3d ad 28 22 3a 30 |21,0..T.X%=.(":0| 000010a0 2e 4d 41 49 4e 22 29 3a d9 23 30 0d 06 5e 58 e7 |.MAIN"):.#0..^X.| 000010b0 20 58 25 3d 30 20 db 3a f1 8a 30 2c 31 30 29 22 | X%=0 .:..0,10)"| 000010c0 49 6e 73 65 72 74 20 53 79 73 74 65 6d 20 44 69 |Insert System Di| 000010d0 73 63 20 69 6e 20 64 72 69 76 65 20 30 22 27 27 |sc in drive 0"''| 000010e0 22 61 6e 64 20 70 72 65 73 73 20 61 6e 79 20 6b |"and press any k| 000010f0 65 79 20 74 6f 20 63 6f 6e 74 69 6e 75 65 22 3a |ey to continue":| 00001100 f5 fd a5 0d 06 68 0b fd 20 58 25 3c 3e 30 0d 06 |.....h.. X%<>0..| 00001110 72 05 e1 0d 06 7c 22 dd f2 6b 65 79 3a f1 27 27 |r....|"..key:.''| 00001120 22 50 52 45 53 53 20 41 20 4b 45 59 22 3a 2a 46 |"PRESS A KEY":*F| 00001130 58 32 31 2c 30 0d 06 86 08 4b 25 3d a5 0d 06 90 |X21,0....K%=....| 00001140 05 e1 0d 06 9a 0a dd f2 64 75 6d 70 0d 06 a4 0f |........dump....| 00001150 2a 3a 30 2e 50 52 49 4e 54 31 36 0d 06 ae 05 e1 |*:0.PRINT16.....| 00001160 0d 06 b8 2e f4 20 44 65 6c 65 74 65 20 66 6f 6c |..... Delete fol| 00001170 6c 6f 77 69 6e 67 20 63 6f 64 65 20 2d 20 6f 6e |lowing code - on| 00001180 6c 79 20 63 61 6c 6c 65 64 20 6f 6e 63 65 0d 06 |ly called once..| 00001190 c2 0c 2a 46 58 32 32 39 2c 30 0d 06 cc 06 eb 30 |..*FX229,0.....0| 000011a0 0d 06 d6 13 ef 32 33 3b 38 32 30 32 3b 30 3b 30 |.....23;8202;0;0| 000011b0 3b 30 3b 0d 06 e0 08 f2 73 79 73 0d 06 ea 13 58 |;0;.....sys....X| 000011c0 25 3d ad 28 22 3a 30 2e 59 45 41 52 22 29 0d 06 |%=.(":0.YEAR")..| 000011d0 f4 a1 e7 20 58 25 3d 30 20 db 3a f1 8a 30 2c 31 |... X%=0 .:..0,1| 000011e0 30 29 22 46 69 6c 65 20 27 59 45 41 52 27 20 64 |0)"File 'YEAR' d| 000011f0 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 2e 22 27 |oes not exist."'| 00001200 27 22 47 6f 20 74 6f 20 4d 41 49 4e 20 70 61 6e |'"Go to MAIN pan| 00001210 65 6c 20 61 6e 64 20 73 65 6c 65 63 74 20 65 61 |el and select ea| 00001220 63 68 22 27 22 72 65 71 75 69 72 65 64 20 49 6e |ch"'"required In| 00001230 64 65 78 2f 50 6f 72 74 66 6f 6c 69 6f 20 69 6e |dex/Portfolio in| 00001240 20 74 75 72 6e 2e 22 27 27 22 54 6f 20 72 65 74 | turn."''"To ret| 00001250 75 72 6e 20 74 6f 20 4d 41 49 4e 22 3a f2 6b 65 |urn to MAIN":.ke| 00001260 79 3a f2 68 61 69 6e 28 22 4d 41 49 4e 22 29 0d |y:.hain("MAIN").| 00001270 06 fe 14 e8 23 58 25 2c 55 25 2c 56 25 2c 57 25 |....#X%,U%,V%,W%| 00001280 2c 59 25 0d 07 08 31 e7 20 a2 23 58 25 3e 26 31 |,Y%...1. .#X%>&1| 00001290 34 20 e8 23 58 25 2c 46 25 2c 48 25 20 8b 20 48 |4 .#X%,F%,H% . H| 000012a0 25 3d 36 30 3a 46 25 3d 33 30 3a 49 25 3d a3 3a |%=60:F%=30:I%=.:| 000012b0 4c 25 3d a3 0d 07 12 07 d9 23 30 0d 07 1c 22 e7 |L%=......#0...".| 000012c0 20 46 25 3e 32 30 30 20 46 25 3d 46 25 2d 32 35 | F%>200 F%=F%-25| 000012d0 36 3a 4a 25 3d a3 20 8b 20 4a 25 3d b9 0d 07 26 |6:J%=. . J%=...&| 000012e0 22 e7 20 48 25 3e 32 30 30 20 48 25 3d 48 25 2d |". H%>200 H%=H%-| 000012f0 32 35 36 3a 4c 25 3d a3 20 8b 20 4c 25 3d b9 0d |256:L%=. . L%=..| 00001300 07 30 4d 24 26 31 35 30 30 3d 22 50 72 65 73 73 |.0M$&1500="Press| 00001310 20 3c 45 53 43 41 50 45 3e 20 74 6f 20 65 78 69 | <ESCAPE> to exi| 00001320 74 2c 20 3c 50 3e 20 74 6f 20 70 72 69 6e 74 2c |t, <P> to print,| 00001330 20 61 6e 79 20 6f 74 68 65 72 20 6b 65 79 20 74 | any other key t| 00001340 6f 20 63 6f 6e 74 69 6e 75 65 2e 22 0d 07 3a 1d |o continue."..:.| 00001350 e7 20 43 25 3d 30 20 84 20 44 25 3d 30 20 4e 25 |. C%=0 . D%=0 N%| 00001360 3d 30 20 8b 20 4e 25 3d 31 0d 07 44 51 21 28 90 |=0 . N%=1..DQ!(.| 00001370 2b 34 29 3d 26 46 34 3a f7 20 8d 74 78 46 3a 49 |+4)=&F4:. .txF:I| 00001380 25 3d 32 2b 21 26 31 43 20 80 20 26 46 46 46 46 |%=2+!&1C . &FFFF| 00001390 3a f5 3a 49 25 3d 49 25 2d 31 3a fd 20 49 25 3f |:.:I%=I%-1:. I%?| 000013a0 2d 31 3d 26 30 44 3a 3f 49 25 3d 26 46 46 3a 21 |-1=&0D:?I%=&FF:!| 000013b0 26 31 32 3d 49 25 2b 31 3a f9 0d ff |&12=I%+1:...| 000013bc