Home » CEEFAX disks » telesoftware6.adl » 09-04-88/FOOT

09-04-88/FOOT

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 » telesoftware6.adl
Filename: 09-04-88/FOOT
Read OK:
File size: 1AE3 bytes
Load address: FFFF0E00
Exec address: FFFF802B
File contents
   10REM"�*****************************
   20REM"�*�POOLS  PREDICTOR  PROGRAM�*
   30REM"�*�by�J.J.Brayshaw.�Dec 1984�*
   40REM"�*�(Modified to store  match�*
   50REM"�*�and league data on disc.)�*
   60REM"�*�Adapted for 1986/7 season�*
   70REM"�*�September 1987 (5)      � *
   80REM"�*****************************
   90ONERRORGOTO220
  100HIMEM=&7000
  110REM"�No of matches on coupon:
  120max%=58
  130PROCset_up
  140MODE7:VDU23;8202;0;0;0;
  150PROCintermediate
  160PROCread_page
  170*HOFF
  180PROCverify
  190PROCteams
  200PROCmatches
  210PROCselect
  220VDU26:*FX220,27
  230CLOSE#0
  240END
  250DEFPROCset_up:*FX220,0
  260DIM t$(131),P(130),W(130),D(130),L(130),F(130),A(130),PT(130),m(max%),n(max%)
  270logo$=" ���h��������� �� ��������𰴴"+CHR$10+CHR$13+"��� j����������  ������꠵�����"+CHR$10+CHR$13+"��� j���������  ���������������"+CHR$10+CHR$13+"� � *�``````��  ��Pools predictor"+CHR$10+CHR$13
  280CLS:PRINTlogo$:PROCdisc
  290IFNOTFNadapter PROCstop:GOTO220
  300CLS:PRINT'logo$:*TELESOFT
  310*HON
  320RESTORE970:FORA=1TO130:READt$
  330t$(A)="            "
  340t$(A)=t$
  350NEXT:date$=FNBBCdate
  360ENDPROC
  370DEFPROCread_page
  380IFread2%:PROCreadLdata:GOTO750
  390*BBC2
  400PRINTTAB(2,6)CHR$141;date$'"  ";CHR$141;date$
  410PRINTTAB(2,9)"�Pages required:";TAB(20,9)"Pages found:"
  420RESTORE760:FORE%=1TO11:READpage$
  430PRINTTAB(8,10+E%);"�";page$:NEXT
  440RESTORE760:FORE%=1TO11:READpage$
  450PROCoscli("PAGE "+page$)
  460*TRANSFER 7000
  470PRINTTAB(20,10+E%)"Found ";
  480PROCinterpret
  490NEXT
  500ENDPROC
  510DEFPROCinterpret
  520LOCALA,S,start,team$
  530done=FALSE:fl=FALSE
  540FORstart=&7140TO&7370 STEP40
  550S=start
  560?(start+18)=&D
  570team$=FNname($(start+4))+" "
  580IFteam$=STRING$(15," ") GOTO740
  590PRINTTAB(0,22)"�Processing data for ";team$'"�Please wait ...";
  600A=0:REPEAT:A=A+1
  610UNTIL((LEFT$(team$,LEN(t$(A))-1)=LEFT$(t$(A),LEN(t$(A))-1))AND(INSTR(team$,RIGHT$(t$(A),1))<>0))OR A=131
  620IFA=131 GOTO730
  630t$(A)=LEFT$(team$+"           ",12)
  640IF NOTdone S=S+FNoffset(start):done=TRUE:fl=TRUE:S=S-1
  650?(S+21)=&D:P(A)=FNval($(S+19))
  660?(S+24)=&D:W(A)=FNval($(S+22))
  670?(S+27)=&D:D(A)=FNval($(S+25))
  680?(S+30)=&D:L(A)=FNval($(S+28))
  690?(S+33)=&D:F(A)=FNval($(S+31))
  700?(S+36)=&D:A(A)=FNval($(S+34))
  710?(S+39)=&D:PT(A)=FNval($(S+37))
  720IFfl S=S+1:fl=FALSE
  730PRINTTAB(0,22);SPC(60)
  740NEXT
  750ENDPROC
  760DATA"391s0001","391s0002","392s0001","392s0002","393s0001","393s0002","394s0001","394s0002","395s3F7F","396s3F7F","397s3F7F"
  770DEFFNval(N$)
  780LOCALN2$,A,B
  790FORA=1TOLEN(N$):B=ASC(MID$(N$,A,1)):IFB>128 B=B-128
  800IFB<48 ORB>57 GOTO820
  810N2$=N2$+CHR$B
  820NEXT
  830=VAL(N2$)
  840DEFFNname(N$)
  850LOCALN2$,A,B
  860FORA=1TOLEN(N$):B=ASC(MID$(N$,A,1)):IFB>128 B=B-128
  870N2$=N2$+CHR$B:NEXT
  880=N2$
  890DEFPROCoscli(n$)
  900LOCAL C
  910DIM C 14
  920$C=n$
  930X%=C MOD256
  940Y%=C DIV256
  950CALL&FFF7
  960ENDPROC
  970DATA Ars ,Cov ,Cha ,Chea,Der ,Eve ,Liv ,Lut ,ManU,NotF,Norw ,Newc ,Ox ,Porm,QR,SheW,Soua,Tot ,Wim ,WesH,"Wat "
  980DATA Ast ,Blab,Bou ,Bra ,Bar ,Bir ,CP,Hud ,Hul ,Ips ,Lee ,Lei ,ManC,Mid ,Mil ,Ol ,Ply ,Rea ,Sto ,SheU,Shr ,Swi ,"WB "
  990DATA Ald ,Brig ,Bury ,BriR,Bren ,Blap,BriC,Chef,CheC,Don ,Ful ,Gill ,Gri ,Mans ,Nort ,NotC,PorV,Pres ,Roth ,Soud,Sun ,Wals ,Wig ,"Yor "
 1000DATA Boln,Burn,Carl ,Col ,Camb ,Card ,Crew ,Dar ,Ex ,Hart ,Hal ,Here ,LO,Newp ,Pete ,Roc ,Scar ,Sto ,SwaC,Scu ,Tor ,Tran ,Wol ,"Wrex "
 1010DATA Abe ,Cel ,DunU,Dundee  ,Dunf ,Fal ,Hea ,Hib ,Mort ,Mot ,Ran ,StM
 1020DATA Air ,Clyde  ,Clyk,Dum ,EasF,For ,Hamn,Kil ,Mea ,ParT,QS,"Rai "
 1030DATA AyrU,All ,Alb ,Arb ,Ber ,Brec ,Cow ,ES,Mont ,QP,SJ,SA,Str ,"Ste "
 1040DEFPROCprint
 1050PRINT''"�Check shows ";
 1060IFretry PRINT"some ";ELSE PRINT"no ";
 1070PRINT"errors:"'
 1080*FX15,1
 1090PRINT"No.  Team";SPC11;"P  W  D  L  F  A Pts"
 1100FORX=1TO130
 1110PRINTRIGHT$("  "+STR$(X),3)+"  "+t$(X)+"  ";
 1120IFP(X)=0 PRINT:GOTO1160
 1130PRINTRIGHT$(" "+STR$(P(X)),2);RIGHT$("  "+STR$(W(X)),3);
 1140PRINTRIGHT$("  "+STR$(D(X)),3);RIGHT$("  "+STR$(L(X)),3);RIGHT$("  "+STR$(F(X)),3);RIGHT$("  "+STR$(A(X)),3);
 1150PRINTRIGHT$("   "+STR$(PT(X)),4)
 1160NEXT:VDU3:PRINT''"Press SPACE-BAR ";:REPEATUNTILGET=32
 1170ENDPROC
 1180:
 1190DEFPROCverify
 1200retry=FALSE
 1210FORA=1TO130
 1220IFP(A)=0 retry=TRUE:A=130
 1230NEXT
 1240ENDPROC
 1250:
 1260DEFPROCintermediate
 1270PRINT'logo$
 1280ENDPROC
 1290:
 1300DEFPROCmatches:LOCALX,m,n,c
 1310CLS:PRINTlogo$:VDU28,0,24,39,4
 1320IFsave%:file=OPENOUT"MDATA"
 1330IFread%:file=OPENUP"MDATA"
 1340REPEAT
 1350c=c+1:IFc=(max%+1) m=0:GOTO1540
 1360PRINT;c;TAB(18)"vs.";:REPEAT:VDU8:UNTILPOS=3
 1370IFread%:m=BGET#file:IFm=255 m=999
 1380IFread%:PRINT"�No.�";m:ELSEINPUT"�No.�"m
 1390IFm=999 ANDsave%:BPUT#file,255:GOTO1410
 1400IFsave%:BPUT#file,m
 1410IFm=999 GOTO1530
 1420IFm>130 ANDsave%:PTR#file=(PTR#file)-1
 1430IFm>130 GOTO1380
 1440IFm=0 GOTO1540
 1450REPEAT:VDU8:UNTILPOS=3:PRINTLEFT$(t$(m)+STRING$(11," "),11);
 1460REPEAT:VDU9:UNTILPOS=23:IFread%:n=BGET#file:PRINT"�No.�";n:ELSEINPUT"�No.�"n
 1470IFn>130 ANDsave%:PTR#file=(PTR#file)-1
 1480IFn>130 GOTO1380
 1490IFsave%:BPUT#file,n
 1500REPEAT:VDU8:UNTILPOS=23:PRINTLEFT$(t$(n)+STRING$(11," "),11)
 1510IFP(n)=0 OR P(m)=0 m(c)=100:GOTO1540
 1520m(c)=ABS(FNcalc)
 1530n(c)=c
 1540UNTILm=0
 1550PRINT"Any alterations? ";:IF (GET AND&DF)<>89 GOTO1570
 1560read%=FALSE:PRINT':REPEAT:INPUT"Match no.: "c:IFc=0 m=0:GOTO1540 ELSE PROCsetpointer:GOTO1360
 1570CLS:ENDPROC
 1580DEFPROCselect
 1590PRINT'''"�Please wait a moment...";
 1600PROCsort
 1610b=-1:REPEAT:b=b+1:UNTILm(b)>0
 1620CLS:IFFNprinter VDU2:ptr=TRUE ELSEptr=FALSE
 1630MD%=OPENOUT("RDATA")
 1640PRINT"�";date$':FORa=b TOb+17
 1650PRINT"�Choice ";a+1-b,;TAB(11)"�Coupon no. ";n(a);TAB(26)"�Value:";:VDU3,135:IFptr VDU2,1,32
 1660PRINT;m(a):BPUT#MD%,n(a):NEXT
 1670VDU3:CLOSE#MD%
 1680DEFFNoffset(line):LOCALo
 1690?(line+40)=&D
 1700REPEAT:o=o+1:w=FNval($(line+o)):UNTIL w<>0 AND ASC(LEFT$($(line+o),1))>160
 1710len=LEN(STR$(w))
 1720=o-2+len
 1730:
 1740DEFPROCsort
 1750FORb=1TOmax%
 1760FORa=1TO(max%-1)
 1770IFm(a)>m(a+1) temp1=n(a):n(a)=n(a+1):n(a+1)=temp1:temp1=m(a):m(a)=m(a+1):m(a+1)=temp1
 1780NEXT
 1790NEXT
 1800ENDPROC
 1810DEFPROCteams
 1820IFsave2%:PROCsaveLdata
 1830IFread2%=TRUE GOTO1910
 1840CLS:PRINT'logo$;TAB(0,10)"�Do you want a list of teams & no's? ";
 1850REPEAT:Q=GET AND&DF:UNTIL Q=89 ORQ=78
 1860CLS
 1870IFQ=78 ENDPROC
 1880IFFNprinter VDU15,2 ELSEVDU14
 1890PROCprint
 1900VDU3
 1910ENDPROC
 1920DEFFNprinter:LOCALA
 1930VDU2,1,0,1,0,1,0,3
 1940A=ADVAL(-4):*FX21,3
 1950IFA<63 =FALSE ELSE=TRUE
 1960DEFPROCdisc
 1970Q=OPENUP("MDATA"):CLOSE#Q:IFQ=0 read%=FALSE:save%=TRUE:GOTO2020
 1980PRINT'''"�Is the match data to be�READ FROM�disc?�(Y/N)�";
 1990REPEAT:Q=GET AND&DF:UNTILQ=78 ORQ=89
 2000IFQ=89 PRINT"Yes":read%=TRUE:save%=FALSE:GOTO2020:ELSEread%=FALSE:PRINT"No."
 2010save%=TRUE
 2020Q=OPENUP("LDATA"):CLOSE#Q:IFQ=0 read2%=FALSE:save2%=TRUE:GOTO2070
 2030PRINT''"�League data to be�READ FROM�disc?      �(Y/N)�";
 2040REPEAT:Q=GET AND&DF:UNTILQ=78 ORQ=89
 2050IFQ=89 PRINT"Yes":read2%=TRUE:save2%=FALSE:ENDPROC:ELSEread2%=FALSE:PRINT"No."
 2060save2%=TRUE
 2070ENDPROC
 2080DEFPROCsetpointer
 2090IFsave%:PTR#file=2*(c-1)
 2100ENDPROC
 2110DEFPROCsaveLdata
 2120Ldata=OPENOUT"LDATA"
 2130FORQ=1TO130:PRINT#Ldata,P(Q),W(Q),D(Q),L(Q),F(Q),A(Q),PT(Q):NEXT
 2140CLOSE#Ldata:ENDPROC
 2150DEFPROCreadLdata
 2160PRINTTAB(0,10)"�Reading league data"'"�Please wait ...";
 2170Ldata=OPENUP"LDATA"
 2180FORQ=1TO130:INPUT#Ldata,P(Q),W(Q),D(Q),L(Q),F(Q),A(Q),PT(Q):NEXT
 2190CLOSE#Ldata:ENDPROC
 2200DEFPROCstop:CLS:PRINTlogo$'''"Teletext adapter is not on."'"Please check, then re-load.":ENDPROC
 2210DEFFNBBCdate
 2220REM"�DATE WITH ATS
 2230TIME=0:REPEATUNTILTIME>120
 2240work%=&7000
 2250A%=&7A:X%=work%MOD256:Y%=work%DIV256:?work%=15:CALL&FFF1
 2260BB1$=RIGHT$(STR$~(work%?8),1)
 2270BB2$=STR$~(work%?9):IF LEN(BB2$)=1 BB2$="0"+BB2$
 2280BB3$=STR$~(work%?10):IF LEN(BB3$)=1 BB3$="0"+BB3$
 2290JD=VAL(BB1$+BB2$+BB3$)
 2300IFJD<46796 ="Date not available"
 2310Y1=(100*(JD-15078.2))DIV36525
 2320M1=INT((JD-14956.1-INT(365.25*Y1))/30.6001)
 2330D%=JD-14956-INT(365.25*Y1)-INT(30.6*M1):K=INT(0.7+(1/(17-M1)))
 2340M%=M1-1-12*K
 2350Z%=Y1+K
 2360W%=(JD+3)MOD7:RESTORE2370:FORday=0TOW%:READD$:NEXT:D$=D$+"day"
 2370DATA Sun,Mon,Tues,Wednes,Thurs,Fri,Satur
 2380RESTORE2390:FORday=1TOM%:READmonth$:NEXT
 2390DATA January,February,March,April,May,June,July,August,September,October,November,December
 2400IFD%=1ORD%=21ORD%=31 th$="st" ELSEIFD%=2ORD%=22 th$="nd" ELSEIFD%=3ORD%=23 th$="rd" ELSEth$="th"
 2410=D$+"  "+STR$(D%)+th$+" "+month$+" 19"+STR$(Z%)
 2420DEFFNadapter:DIM work% 2
 2430A%=&7A:X%=work%MOD256:Y%=work%DIV256:?work%=17:CALL&FFF1:IFwork%?1=0 =TRUE ELSE =FALSE
 2440DEFFNcalc
 4998REM"�Change the following formula
 4999REM"�to suit individual needs:-
 5000=PT(m)-PT(n)

$�"�*****************************
$�"�*�POOLS  PREDICTOR  PROGRAM�*
$�"�*�by�J.J.Brayshaw.�Dec 1984�*
($�"�*�(Modified to store  match�*
2$�"�*�and league data on disc.)�*
<$�"�*�Adapted for 1986/7 season�*
F$�"�*�September 1987 (5)      � *
P$�"�*****************************
Z��d\@
d�=&7000
n�"�No of matches on coupon:
xmax%=58
��set_up
��7:�23;8202;0;0;0;
��intermediate
��read_page
�	*HOFF
��verify
�
�teams
��matches
��select
��26:*FX220,27
��#0
��
���set_up:*FX220,0
O� t$(131),P(130),W(130),D(130),L(130),F(130),A(130),PT(130),m(max%),n(max%)
�logo$=" ���h��������� �� �������𰴴"+�10+�13+"��� j����������  ������꠵�����"+�10+�13+"��� j���������  ���������������"+�10+�13+"� � *�``````��  ��Pools predictor"+�10+�13
�:�logo$:�disc
"笤adapter �stop:�d\@
,�:�'logo$:*TELESOFT
6*HON
@��dJC:�A=1�130:�t$
Jt$(A)="            "
Tt$(A)=t$
^�:date$=�BBCdate
h�
r��read_page
|�read2%:�readLdata:�dnB
�	*BBC2
�$�2,6)�141;date$'"  ";�141;date$
�1�2,9)"�Pages required:";�20,9)"Pages found:"
���dxB:�E%=1�11:�page$
��8,10+E%);"�";page$:�
���dxB:�E%=1�11:�page$
��oscli("PAGE "+page$)
�*TRANSFER 7000
��20,10+E%)"Found ";
��interpret
��
��
���interpret
�A,S,start,team$
done=�:fl=�
�start=&7140�&7370 �40
&S=start
0?(start+18)=&D
:team$=�name($(start+4))+" "
D�team$=�15," ") �ddB
N<�0,22)"�Processing data for ";team$'"�Please wait ...";
XA=0:�:A=A+1
bL�((�team$,�(t$(A))-1)=�t$(A),�(t$(A))-1))�(�team$,�t$(A),1))<>0))� A=131
l�A=131 �dZB
v"t$(A)=�team$+"           ",12)
�0� �done S=S+�offset(start):done=�:fl=�:S=S-1
�!?(S+21)=&D:P(A)=�val($(S+19))
�!?(S+24)=&D:W(A)=�val($(S+22))
�!?(S+27)=&D:D(A)=�val($(S+25))
�!?(S+30)=&D:L(A)=�val($(S+28))
�!?(S+33)=&D:F(A)=�val($(S+31))
�!?(S+36)=&D:A(A)=�val($(S+34))
�"?(S+39)=&D:PT(A)=�val($(S+37))
��fl S=S+1:fl=�
��0,22);�(60)
��
��
�}�"391s0001","391s0002","392s0001","392s0002","393s0001","393s0002","394s0001","394s0002","395s3F7F","396s3F7F","397s3F7F"

ݤval(N$)
�N2$,A,B
+�A=1��(N$):B=�(�N$,A,1)):�B>128 B=B-128
 �B<48 �B>57 �TtC
*N2$=N2$+�B
4�
>=�(N2$)
Hݤname(N$)
R�N2$,A,B
\+�A=1��(N$):B=�(�N$,A,1)):�B>128 B=B-128
fN2$=N2$+�B:�
p=N2$
z��oscli(n$)
�� C
�
� C 14
�	$C=n$
�
X%=C �256
�
Y%=C �256
�
�&FFF7
��
�o� Ars ,Cov ,Cha ,Chea,Der ,Eve ,Liv ,Lut ,ManU,NotF,Norw ,Newc ,Ox ,Porm,QR,SheW,Soua,Tot ,Wim ,WesH,"Wat "
�v� Ast ,Blab,Bou ,Bra ,Bar ,Bir ,CP,Hud ,Hul ,Ips ,Lee ,Lei ,ManC,Mid ,Mil ,Ol ,Ply ,Rea ,Sto ,SheU,Shr ,Swi ,"WB "
ވ� Ald ,Brig ,Bury ,BriR,Bren ,Blap,BriC,Chef,CheC,Don ,Ful ,Gill ,Gri ,Mans ,Nort ,NotC,PorV,Pres ,Roth ,Soud,Sun ,Wals ,Wig ,"Yor "
�� Boln,Burn,Carl ,Col ,Camb ,Card ,Crew ,Dar ,Ex ,Hart ,Hal ,Here ,LO,Newp ,Pete ,Roc ,Scar ,Sto ,SwaC,Scu ,Tor ,Tran ,Wol ,"Wrex "
�F� Abe ,Cel ,DunU,Dundee  ,Dunf ,Fal ,Hea ,Hib ,Mort ,Mot ,Ran ,StM
�D� Air ,Clyde  ,Clyk,Dum ,EasF,For ,Hamn,Kil ,Mea ,ParT,QS,"Rai "
G� AyrU,All ,Alb ,Arb ,Ber ,Brec ,Cow ,ES,Mont ,QP,SJ,SA,Str ,"Ste "
��print
�''"�Check shows ";
$�retry �"some ";� �"no ";
.�"errors:"'
8*FX15,1
B+�"No.  Team";�11;"P  W  D  L  F  A Pts"
L�X=1�130
V#��"  "+�(X),3)+"  "+t$(X)+"  ";
`�P(X)=0 �:�tHD
j&��" "+�(P(X)),2);�"  "+�(W(X)),3);
tI��"  "+�(D(X)),3);�"  "+�(L(X)),3);�"  "+�(F(X)),3);�"  "+�(A(X)),3);
~��"   "+�(PT(X)),4)
�&�:�3:�''"Press SPACE-BAR ";:���=32
��
�:
���verify
�retry=�
��A=1�130
��P(A)=0 retry=�:A=130
��
��
�:
���intermediate
��'logo$
�

:
��matches:�X,m,n,c
�:�logo$:�28,0,24,39,4
(�save%:file=�"MDATA"
2�read%:file=�"MDATA"
<�
Fc=c+1:�c=(max%+1) m=0:�TDF
P�;c;�18)"vs.";:�:�8:��=3
Z �read%:m=�#file:�m=255 m=999
d �read%:�"�No.�";m:��"�No.�"m
n"�m=999 �save%:�#file,255:�tBE
x�save%:�#file,m
��m=999 �dzE
�#�m>130 �save%:�#file=(�#file)-1
��m>130 �DdE
��m=0 �TDF
�#�:�8:��=3:�t$(m)+�11," "),11);
�4�:�9:��=23:�read%:n=�#file:�"�No.�";n:��"�No.�"n
�#�n>130 �save%:�#file=(�#file)-1
��n>130 �DdE
��save%:�#file,n
�#�:�8:��=23:�t$(n)+�11," "),11)
�#�P(n)=0 � P(m)=0 m(c)=100:�TDF
�m(c)=�(�calc)
�
n(c)=c
�m=0
.�"Any alterations? ";:� (� �&DF)<>89 �TbF
Cread%=�:�':�:�"Match no.: "c:�c=0 m=0:�TDF � �setpointer:�DPE
"�:�
,��select
6#�'''"�Please wait a moment...";
@	�sort
Jb=-1:�:b=b+1:�m(b)>0
T�:�printer �2:ptr=� �ptr=�
^MD%=�("RDATA")
h�"�";date$':�a=b �b+17
rQ�"�Choice ";a+1-b,;�11)"�Coupon no. ";n(a);�26)"�Value:";:�3,135:�ptr �2,1,32
|�;m(a):�#MD%,n(a):�
��3:�#MD%
�ݤoffset(line):�o
�?(line+40)=&D
�;�:o=o+1:w=�val($(line+o)):� w<>0 � �(�$(line+o),1))>160
�len=�(�(w))
�=o-2+len
�:
�
��sort
�
�b=1�max%
��a=1�(max%-1)
�X�m(a)>m(a+1) temp1=n(a):n(a)=n(a+1):n(a+1)=temp1:temp1=m(a):m(a)=m(a+1):m(a+1)=temp1
��
��
�
��teams
�save2%:�saveLdata
&�read2%=� �DvG
0<�:�'logo$;�0,10)"�Do you want a list of teams & no's? ";
:�:Q=� �&DF:� Q=89 �Q=78
D�
N�Q=78 �
X�printer �15,2 ��14
b
�print
l�3
v�
�ݤprinter:�A
��2,1,0,1,0,1,0,3
�A=�(-4):*FX21,3
��A<63 =� �=�
�
��disc
�/Q=�("MDATA"):�#Q:�Q=0 read%=�:save%=�:�ddG
�:�'''"�Is the match data to be�READ FROM�disc?�(Y/N)�";
��:Q=� �&DF:�Q=78 �Q=89
�6�Q=89 �"Yes":read%=�:save%=�:�ddG:�read%=�:�"No."
�save%=�
�1Q=�("LDATA"):�#Q:�Q=0 read2%=�:save2%=�:�TVH
�9�''"�League data to be�READ FROM�disc?      �(Y/N)�";
��:Q=� �&DF:�Q=78 �Q=89
5�Q=89 �"Yes":read2%=�:save2%=�:�:�read2%=�:�"No."
save2%=�
�
 ��setpointer
*�save%:�#file=2*(c-1)
4�
>��saveLdata
HLdata=�"LDATA"
R:�Q=1�130:�#Ldata,P(Q),W(Q),D(Q),L(Q),F(Q),A(Q),PT(Q):�
\
�#Ldata:�
f��readLdata
p5�0,10)"�Reading league data"'"�Please wait ...";
zLdata=�"LDATA"
�:�Q=1�130:�#Ldata,P(Q),W(Q),D(Q),L(Q),F(Q),A(Q),PT(Q):�
�
�#Ldata:�
�S��stop:�:�logo$'''"Teletext adapter is not on."'"Please check, then re-load.":�
�
ݤBBCdate
��"�DATE WITH ATS
��=0:���>120
�work%=&7000
�5A%=&7A:X%=work%�256:Y%=work%�256:?work%=15:�&FFF1
�BB1$=��~(work%?8),1)
�.BB2$=�~(work%?9):� �(BB2$)=1 BB2$="0"+BB2$
�/BB3$=�~(work%?10):� �(BB3$)=1 BB3$="0"+BB3$
�JD=�(BB1$+BB2$+BB3$)
�#�JD<46796 ="Date not available"
	Y1=(100*(JD-15078.2))�36525
	+M1=�((JD-14956.1-�(365.25*Y1))/30.6001)
	<D%=JD-14956-�(365.25*Y1)-�(30.6*M1):K=�(0.7+(1/(17-M1)))
	$M%=M1-1-12*K
	.Z%=Y1+K
	81W%=(JD+3)�7:��DBI:�day=0�W%:�D$:�:D$=D$+"day"
	B)� Sun,Mon,Tues,Wednes,Thurs,Fri,Satur
	L��DVI:�day=1�M%:�month$:�
	V[� January,February,March,April,May,June,July,August,September,October,November,December
	`T�D%=1�D%=21�D%=31 th$="st" ��D%=2�D%=22 th$="nd" ��D%=3�D%=23 th$="rd" �th$="th"
	j-=D$+"  "+�(D%)+th$+" "+month$+" 19"+�(Z%)
	tݤadapter:� work% 2
	~HA%=&7A:X%=work%�256:Y%=work%�256:?work%=17:�&FFF1:�work%?1=0 =� � =�
	�
ݤcalc
�#�"�Change the following formula
�!�"�to suit individual needs:-
�=PT(m)-PT(n)
�
00000000  0d 00 0a 24 f4 22 81 2a  2a 2a 2a 2a 2a 2a 2a 2a  |...$.".*********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000020  2a 2a 2a 2a 0d 00 14 24  f4 22 81 2a 83 50 4f 4f  |****...$.".*.POO|
00000030  4c 53 20 20 50 52 45 44  49 43 54 4f 52 20 20 50  |LS  PREDICTOR  P|
00000040  52 4f 47 52 41 4d 81 2a  0d 00 1e 24 f4 22 81 2a  |ROGRAM.*...$.".*|
00000050  85 62 79 82 4a 2e 4a 2e  42 72 61 79 73 68 61 77  |.by.J.J.Brayshaw|
00000060  2e 85 44 65 63 20 31 39  38 34 81 2a 0d 00 28 24  |..Dec 1984.*..($|
00000070  f4 22 81 2a 85 28 4d 6f  64 69 66 69 65 64 20 74  |.".*.(Modified t|
00000080  6f 20 73 74 6f 72 65 20  20 6d 61 74 63 68 81 2a  |o store  match.*|
00000090  0d 00 32 24 f4 22 81 2a  85 61 6e 64 20 6c 65 61  |..2$.".*.and lea|
000000a0  67 75 65 20 64 61 74 61  20 6f 6e 20 64 69 73 63  |gue data on disc|
000000b0  2e 29 81 2a 0d 00 3c 24  f4 22 81 2a 83 41 64 61  |.).*..<$.".*.Ada|
000000c0  70 74 65 64 20 66 6f 72  20 31 39 38 36 2f 37 20  |pted for 1986/7 |
000000d0  73 65 61 73 6f 6e 81 2a  0d 00 46 24 f4 22 81 2a  |season.*..F$.".*|
000000e0  86 53 65 70 74 65 6d 62  65 72 20 31 39 38 37 20  |.September 1987 |
000000f0  28 35 29 20 20 20 20 20  20 81 20 2a 0d 00 50 24  |(5)      . *..P$|
00000100  f4 22 81 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |.".*************|
00000110  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000120  0d 00 5a 0b ee 85 e5 8d  64 5c 40 0d 00 64 0b d3  |..Z.....d\@..d..|
00000130  3d 26 37 30 30 30 0d 00  6e 1f f4 22 82 4e 6f 20  |=&7000..n..".No |
00000140  6f 66 20 6d 61 74 63 68  65 73 20 6f 6e 20 63 6f  |of matches on co|
00000150  75 70 6f 6e 3a 0d 00 78  0b 6d 61 78 25 3d 35 38  |upon:..x.max%=58|
00000160  0d 00 82 0b f2 73 65 74  5f 75 70 0d 00 8c 16 eb  |.....set_up.....|
00000170  37 3a ef 32 33 3b 38 32  30 32 3b 30 3b 30 3b 30  |7:.23;8202;0;0;0|
00000180  3b 0d 00 96 11 f2 69 6e  74 65 72 6d 65 64 69 61  |;.....intermedia|
00000190  74 65 0d 00 a0 0e f2 72  65 61 64 5f 70 61 67 65  |te.....read_page|
000001a0  0d 00 aa 09 2a 48 4f 46  46 0d 00 b4 0b f2 76 65  |....*HOFF.....ve|
000001b0  72 69 66 79 0d 00 be 0a  f2 74 65 61 6d 73 0d 00  |rify.....teams..|
000001c0  c8 0c f2 6d 61 74 63 68  65 73 0d 00 d2 0b f2 73  |...matches.....s|
000001d0  65 6c 65 63 74 0d 00 dc  11 ef 32 36 3a 2a 46 58  |elect.....26:*FX|
000001e0  32 32 30 2c 32 37 0d 00  e6 07 d9 23 30 0d 00 f0  |220,27.....#0...|
000001f0  05 e0 0d 00 fa 15 dd f2  73 65 74 5f 75 70 3a 2a  |........set_up:*|
00000200  46 58 32 32 30 2c 30 0d  01 04 4f de 20 74 24 28  |FX220,0...O. t$(|
00000210  31 33 31 29 2c 50 28 31  33 30 29 2c 57 28 31 33  |131),P(130),W(13|
00000220  30 29 2c 44 28 31 33 30  29 2c 4c 28 31 33 30 29  |0),D(130),L(130)|
00000230  2c 46 28 31 33 30 29 2c  41 28 31 33 30 29 2c 50  |,F(130),A(130),P|
00000240  54 28 31 33 30 29 2c 6d  28 6d 61 78 25 29 2c 6e  |T(130),m(max%),n|
00000250  28 6d 61 78 25 29 0d 01  0e b3 6c 6f 67 6f 24 3d  |(max%)....logo$=|
00000260  22 20 97 a0 a0 68 ac ac  ac ac ac ac ac ac b4 20  |" ...h......... |
00000270  93 a0 20 bc e0 f0 e0 f0  e8 b0 f4 b0 f0 b0 b4 b4  |.. .............|
00000280  22 2b bd 31 30 2b bd 31  33 2b 22 94 9d 97 20 6a  |"+.10+.13+"... j|
00000290  9a ff ff ff ff ff ff 99  b5 93 20 20 a3 b7 ea ea  |..........  ....|
000002a0  ea ea ea a0 b5 b5 bc b5  b5 b5 22 2b bd 31 30 2b  |.........."+.10+|
000002b0  bd 31 33 2b 22 94 9d 97  20 6a 9a ff ff ff ff ff  |.13+"... j......|
000002c0  ff 99 b5 20 20 93 a0 a5  a2 a3 a2 a3 a2 a1 a3 a1  |...  ...........|
000002d0  a3 a1 a1 a1 22 2b bd 31  30 2b bd 31 33 2b 22 97  |...."+.10+.13+".|
000002e0  20 a0 20 2a 9a 60 60 60  60 60 60 99 a5 20 20 a0  | . *.``````..  .|
000002f0  87 50 6f 6f 6c 73 20 70  72 65 64 69 63 74 6f 72  |.Pools predictor|
00000300  22 2b bd 31 30 2b bd 31  33 0d 01 18 12 db 3a f1  |"+.10+.13.....:.|
00000310  6c 6f 67 6f 24 3a f2 64  69 73 63 0d 01 22 1a e7  |logo$:.disc.."..|
00000320  ac a4 61 64 61 70 74 65  72 20 f2 73 74 6f 70 3a  |..adapter .stop:|
00000330  e5 8d 64 5c 40 0d 01 2c  17 db 3a f1 27 6c 6f 67  |..d\@..,..:.'log|
00000340  6f 24 3a 2a 54 45 4c 45  53 4f 46 54 0d 01 36 08  |o$:*TELESOFT..6.|
00000350  2a 48 4f 4e 0d 01 40 16  f7 8d 64 4a 43 3a e3 41  |*HON..@...dJC:.A|
00000360  3d 31 b8 31 33 30 3a f3  74 24 0d 01 4a 18 74 24  |=1.130:.t$..J.t$|
00000370  28 41 29 3d 22 20 20 20  20 20 20 20 20 20 20 20  |(A)="           |
00000380  20 22 0d 01 54 0c 74 24  28 41 29 3d 74 24 0d 01  | "..T.t$(A)=t$..|
00000390  5e 14 ed 3a 64 61 74 65  24 3d a4 42 42 43 64 61  |^..:date$=.BBCda|
000003a0  74 65 0d 01 68 05 e1 0d  01 72 0f dd f2 72 65 61  |te..h....r...rea|
000003b0  64 5f 70 61 67 65 0d 01  7c 1c e7 72 65 61 64 32  |d_page..|..read2|
000003c0  25 3a f2 72 65 61 64 4c  64 61 74 61 3a e5 8d 64  |%:.readLdata:..d|
000003d0  6e 42 0d 01 86 09 2a 42  42 43 32 0d 01 90 24 f1  |nB....*BBC2...$.|
000003e0  8a 32 2c 36 29 bd 31 34  31 3b 64 61 74 65 24 27  |.2,6).141;date$'|
000003f0  22 20 20 22 3b bd 31 34  31 3b 64 61 74 65 24 0d  |"  ";.141;date$.|
00000400  01 9a 31 f1 8a 32 2c 39  29 22 83 50 61 67 65 73  |..1..2,9)".Pages|
00000410  20 72 65 71 75 69 72 65  64 3a 22 3b 8a 32 30 2c  | required:";.20,|
00000420  39 29 22 50 61 67 65 73  20 66 6f 75 6e 64 3a 22  |9)"Pages found:"|
00000430  0d 01 a4 19 f7 8d 64 78  42 3a e3 45 25 3d 31 b8  |......dxB:.E%=1.|
00000440  31 31 3a f3 70 61 67 65  24 0d 01 ae 1a f1 8a 38  |11:.page$......8|
00000450  2c 31 30 2b 45 25 29 3b  22 86 22 3b 70 61 67 65  |,10+E%);".";page|
00000460  24 3a ed 0d 01 b8 19 f7  8d 64 78 42 3a e3 45 25  |$:.......dxB:.E%|
00000470  3d 31 b8 31 31 3a f3 70  61 67 65 24 0d 01 c2 19  |=1.11:.page$....|
00000480  f2 6f 73 63 6c 69 28 22  50 41 47 45 20 22 2b 70  |.oscli("PAGE "+p|
00000490  61 67 65 24 29 0d 01 cc  12 2a 54 52 41 4e 53 46  |age$)....*TRANSF|
000004a0  45 52 20 37 30 30 30 0d  01 d6 18 f1 8a 32 30 2c  |ER 7000......20,|
000004b0  31 30 2b 45 25 29 22 46  6f 75 6e 64 20 22 3b 0d  |10+E%)"Found ";.|
000004c0  01 e0 0e f2 69 6e 74 65  72 70 72 65 74 0d 01 ea  |....interpret...|
000004d0  05 ed 0d 01 f4 05 e1 0d  01 fe 0f dd f2 69 6e 74  |.............int|
000004e0  65 72 70 72 65 74 0d 02  08 14 ea 41 2c 53 2c 73  |erpret.....A,S,s|
000004f0  74 61 72 74 2c 74 65 61  6d 24 0d 02 12 0f 64 6f  |tart,team$....do|
00000500  6e 65 3d a3 3a 66 6c 3d  a3 0d 02 1c 1a e3 73 74  |ne=.:fl=......st|
00000510  61 72 74 3d 26 37 31 34  30 b8 26 37 33 37 30 20  |art=&7140.&7370 |
00000520  88 34 30 0d 02 26 0b 53  3d 73 74 61 72 74 0d 02  |.40..&.S=start..|
00000530  30 12 3f 28 73 74 61 72  74 2b 31 38 29 3d 26 44  |0.?(start+18)=&D|
00000540  0d 02 3a 1f 74 65 61 6d  24 3d a4 6e 61 6d 65 28  |..:.team$=.name(|
00000550  24 28 73 74 61 72 74 2b  34 29 29 2b 22 20 22 0d  |$(start+4))+" ".|
00000560  02 44 19 e7 74 65 61 6d  24 3d c4 31 35 2c 22 20  |.D..team$=.15," |
00000570  22 29 20 e5 8d 64 64 42  0d 02 4e 3c f1 8a 30 2c  |") ..ddB..N<..0,|
00000580  32 32 29 22 81 50 72 6f  63 65 73 73 69 6e 67 20  |22)".Processing |
00000590  64 61 74 61 20 66 6f 72  20 22 3b 74 65 61 6d 24  |data for ";team$|
000005a0  27 22 81 50 6c 65 61 73  65 20 77 61 69 74 20 2e  |'".Please wait .|
000005b0  2e 2e 22 3b 0d 02 58 0f  41 3d 30 3a f5 3a 41 3d  |..";..X.A=0:.:A=|
000005c0  41 2b 31 0d 02 62 4c fd  28 28 c0 74 65 61 6d 24  |A+1..bL.((.team$|
000005d0  2c a9 28 74 24 28 41 29  29 2d 31 29 3d c0 74 24  |,.(t$(A))-1)=.t$|
000005e0  28 41 29 2c a9 28 74 24  28 41 29 29 2d 31 29 29  |(A),.(t$(A))-1))|
000005f0  80 28 a7 74 65 61 6d 24  2c c2 74 24 28 41 29 2c  |.(.team$,.t$(A),|
00000600  31 29 29 3c 3e 30 29 29  84 20 41 3d 31 33 31 0d  |1))<>0)). A=131.|
00000610  02 6c 10 e7 41 3d 31 33  31 20 e5 8d 64 5a 42 0d  |.l..A=131 ..dZB.|
00000620  02 76 22 74 24 28 41 29  3d c0 74 65 61 6d 24 2b  |.v"t$(A)=.team$+|
00000630  22 20 20 20 20 20 20 20  20 20 20 20 22 2c 31 32  |"           ",12|
00000640  29 0d 02 80 30 e7 20 ac  64 6f 6e 65 20 53 3d 53  |)...0. .done S=S|
00000650  2b a4 6f 66 66 73 65 74  28 73 74 61 72 74 29 3a  |+.offset(start):|
00000660  64 6f 6e 65 3d b9 3a 66  6c 3d b9 3a 53 3d 53 2d  |done=.:fl=.:S=S-|
00000670  31 0d 02 8a 21 3f 28 53  2b 32 31 29 3d 26 44 3a  |1...!?(S+21)=&D:|
00000680  50 28 41 29 3d a4 76 61  6c 28 24 28 53 2b 31 39  |P(A)=.val($(S+19|
00000690  29 29 0d 02 94 21 3f 28  53 2b 32 34 29 3d 26 44  |))...!?(S+24)=&D|
000006a0  3a 57 28 41 29 3d a4 76  61 6c 28 24 28 53 2b 32  |:W(A)=.val($(S+2|
000006b0  32 29 29 0d 02 9e 21 3f  28 53 2b 32 37 29 3d 26  |2))...!?(S+27)=&|
000006c0  44 3a 44 28 41 29 3d a4  76 61 6c 28 24 28 53 2b  |D:D(A)=.val($(S+|
000006d0  32 35 29 29 0d 02 a8 21  3f 28 53 2b 33 30 29 3d  |25))...!?(S+30)=|
000006e0  26 44 3a 4c 28 41 29 3d  a4 76 61 6c 28 24 28 53  |&D:L(A)=.val($(S|
000006f0  2b 32 38 29 29 0d 02 b2  21 3f 28 53 2b 33 33 29  |+28))...!?(S+33)|
00000700  3d 26 44 3a 46 28 41 29  3d a4 76 61 6c 28 24 28  |=&D:F(A)=.val($(|
00000710  53 2b 33 31 29 29 0d 02  bc 21 3f 28 53 2b 33 36  |S+31))...!?(S+36|
00000720  29 3d 26 44 3a 41 28 41  29 3d a4 76 61 6c 28 24  |)=&D:A(A)=.val($|
00000730  28 53 2b 33 34 29 29 0d  02 c6 22 3f 28 53 2b 33  |(S+34))..."?(S+3|
00000740  39 29 3d 26 44 3a 50 54  28 41 29 3d a4 76 61 6c  |9)=&D:PT(A)=.val|
00000750  28 24 28 53 2b 33 37 29  29 0d 02 d0 12 e7 66 6c  |($(S+37)).....fl|
00000760  20 53 3d 53 2b 31 3a 66  6c 3d a3 0d 02 da 11 f1  | S=S+1:fl=......|
00000770  8a 30 2c 32 32 29 3b 89  28 36 30 29 0d 02 e4 05  |.0,22);.(60)....|
00000780  ed 0d 02 ee 05 e1 0d 02  f8 7d dc 22 33 39 31 73  |.........}."391s|
00000790  30 30 30 31 22 2c 22 33  39 31 73 30 30 30 32 22  |0001","391s0002"|
000007a0  2c 22 33 39 32 73 30 30  30 31 22 2c 22 33 39 32  |,"392s0001","392|
000007b0  73 30 30 30 32 22 2c 22  33 39 33 73 30 30 30 31  |s0002","393s0001|
000007c0  22 2c 22 33 39 33 73 30  30 30 32 22 2c 22 33 39  |","393s0002","39|
000007d0  34 73 30 30 30 31 22 2c  22 33 39 34 73 30 30 30  |4s0001","394s000|
000007e0  32 22 2c 22 33 39 35 73  33 46 37 46 22 2c 22 33  |2","395s3F7F","3|
000007f0  39 36 73 33 46 37 46 22  2c 22 33 39 37 73 33 46  |96s3F7F","397s3F|
00000800  37 46 22 0d 03 02 0d dd  a4 76 61 6c 28 4e 24 29  |7F"......val(N$)|
00000810  0d 03 0c 0c ea 4e 32 24  2c 41 2c 42 0d 03 16 2b  |.....N2$,A,B...+|
00000820  e3 41 3d 31 b8 a9 28 4e  24 29 3a 42 3d 97 28 c1  |.A=1..(N$):B=.(.|
00000830  4e 24 2c 41 2c 31 29 29  3a e7 42 3e 31 32 38 20  |N$,A,1)):.B>128 |
00000840  42 3d 42 2d 31 32 38 0d  03 20 15 e7 42 3c 34 38  |B=B-128.. ..B<48|
00000850  20 84 42 3e 35 37 20 e5  8d 54 74 43 0d 03 2a 0e  | .B>57 ..TtC..*.|
00000860  4e 32 24 3d 4e 32 24 2b  bd 42 0d 03 34 05 ed 0d  |N2$=N2$+.B..4...|
00000870  03 3e 0b 3d bb 28 4e 32  24 29 0d 03 48 0e dd a4  |.>.=.(N2$)..H...|
00000880  6e 61 6d 65 28 4e 24 29  0d 03 52 0c ea 4e 32 24  |name(N$)..R..N2$|
00000890  2c 41 2c 42 0d 03 5c 2b  e3 41 3d 31 b8 a9 28 4e  |,A,B..\+.A=1..(N|
000008a0  24 29 3a 42 3d 97 28 c1  4e 24 2c 41 2c 31 29 29  |$):B=.(.N$,A,1))|
000008b0  3a e7 42 3e 31 32 38 20  42 3d 42 2d 31 32 38 0d  |:.B>128 B=B-128.|
000008c0  03 66 10 4e 32 24 3d 4e  32 24 2b bd 42 3a ed 0d  |.f.N2$=N2$+.B:..|
000008d0  03 70 08 3d 4e 32 24 0d  03 7a 0f dd f2 6f 73 63  |.p.=N2$..z...osc|
000008e0  6c 69 28 6e 24 29 0d 03  84 07 ea 20 43 0d 03 8e  |li(n$)..... C...|
000008f0  0a de 20 43 20 31 34 0d  03 98 09 24 43 3d 6e 24  |.. C 14....$C=n$|
00000900  0d 03 a2 0d 58 25 3d 43  20 83 32 35 36 0d 03 ac  |....X%=C .256...|
00000910  0d 59 25 3d 43 20 81 32  35 36 0d 03 b6 0a d6 26  |.Y%=C .256.....&|
00000920  46 46 46 37 0d 03 c0 05  e1 0d 03 ca 6f dc 20 41  |FFF7........o. A|
00000930  72 73 20 2c 43 6f 76 20  2c 43 68 61 20 2c 43 68  |rs ,Cov ,Cha ,Ch|
00000940  65 61 2c 44 65 72 20 2c  45 76 65 20 2c 4c 69 76  |ea,Der ,Eve ,Liv|
00000950  20 2c 4c 75 74 20 2c 4d  61 6e 55 2c 4e 6f 74 46  | ,Lut ,ManU,NotF|
00000960  2c 4e 6f 72 77 20 2c 4e  65 77 63 20 2c 4f 78 20  |,Norw ,Newc ,Ox |
00000970  2c 50 6f 72 6d 2c 51 52  2c 53 68 65 57 2c 53 6f  |,Porm,QR,SheW,So|
00000980  75 61 2c 54 6f 74 20 2c  57 69 6d 20 2c 57 65 73  |ua,Tot ,Wim ,Wes|
00000990  48 2c 22 57 61 74 20 22  0d 03 d4 76 dc 20 41 73  |H,"Wat "...v. As|
000009a0  74 20 2c 42 6c 61 62 2c  42 6f 75 20 2c 42 72 61  |t ,Blab,Bou ,Bra|
000009b0  20 2c 42 61 72 20 2c 42  69 72 20 2c 43 50 2c 48  | ,Bar ,Bir ,CP,H|
000009c0  75 64 20 2c 48 75 6c 20  2c 49 70 73 20 2c 4c 65  |ud ,Hul ,Ips ,Le|
000009d0  65 20 2c 4c 65 69 20 2c  4d 61 6e 43 2c 4d 69 64  |e ,Lei ,ManC,Mid|
000009e0  20 2c 4d 69 6c 20 2c 4f  6c 20 2c 50 6c 79 20 2c  | ,Mil ,Ol ,Ply ,|
000009f0  52 65 61 20 2c 53 74 6f  20 2c 53 68 65 55 2c 53  |Rea ,Sto ,SheU,S|
00000a00  68 72 20 2c 53 77 69 20  2c 22 57 42 20 22 0d 03  |hr ,Swi ,"WB "..|
00000a10  de 88 dc 20 41 6c 64 20  2c 42 72 69 67 20 2c 42  |... Ald ,Brig ,B|
00000a20  75 72 79 20 2c 42 72 69  52 2c 42 72 65 6e 20 2c  |ury ,BriR,Bren ,|
00000a30  42 6c 61 70 2c 42 72 69  43 2c 43 68 65 66 2c 43  |Blap,BriC,Chef,C|
00000a40  68 65 43 2c 44 6f 6e 20  2c 46 75 6c 20 2c 47 69  |heC,Don ,Ful ,Gi|
00000a50  6c 6c 20 2c 47 72 69 20  2c 4d 61 6e 73 20 2c 4e  |ll ,Gri ,Mans ,N|
00000a60  6f 72 74 20 2c 4e 6f 74  43 2c 50 6f 72 56 2c 50  |ort ,NotC,PorV,P|
00000a70  72 65 73 20 2c 52 6f 74  68 20 2c 53 6f 75 64 2c  |res ,Roth ,Soud,|
00000a80  53 75 6e 20 2c 57 61 6c  73 20 2c 57 69 67 20 2c  |Sun ,Wals ,Wig ,|
00000a90  22 59 6f 72 20 22 0d 03  e8 87 dc 20 42 6f 6c 6e  |"Yor "..... Boln|
00000aa0  2c 42 75 72 6e 2c 43 61  72 6c 20 2c 43 6f 6c 20  |,Burn,Carl ,Col |
00000ab0  2c 43 61 6d 62 20 2c 43  61 72 64 20 2c 43 72 65  |,Camb ,Card ,Cre|
00000ac0  77 20 2c 44 61 72 20 2c  45 78 20 2c 48 61 72 74  |w ,Dar ,Ex ,Hart|
00000ad0  20 2c 48 61 6c 20 2c 48  65 72 65 20 2c 4c 4f 2c  | ,Hal ,Here ,LO,|
00000ae0  4e 65 77 70 20 2c 50 65  74 65 20 2c 52 6f 63 20  |Newp ,Pete ,Roc |
00000af0  2c 53 63 61 72 20 2c 53  74 6f 20 2c 53 77 61 43  |,Scar ,Sto ,SwaC|
00000b00  2c 53 63 75 20 2c 54 6f  72 20 2c 54 72 61 6e 20  |,Scu ,Tor ,Tran |
00000b10  2c 57 6f 6c 20 2c 22 57  72 65 78 20 22 0d 03 f2  |,Wol ,"Wrex "...|
00000b20  46 dc 20 41 62 65 20 2c  43 65 6c 20 2c 44 75 6e  |F. Abe ,Cel ,Dun|
00000b30  55 2c 44 75 6e 64 65 65  20 20 2c 44 75 6e 66 20  |U,Dundee  ,Dunf |
00000b40  2c 46 61 6c 20 2c 48 65  61 20 2c 48 69 62 20 2c  |,Fal ,Hea ,Hib ,|
00000b50  4d 6f 72 74 20 2c 4d 6f  74 20 2c 52 61 6e 20 2c  |Mort ,Mot ,Ran ,|
00000b60  53 74 4d 0d 03 fc 44 dc  20 41 69 72 20 2c 43 6c  |StM...D. Air ,Cl|
00000b70  79 64 65 20 20 2c 43 6c  79 6b 2c 44 75 6d 20 2c  |yde  ,Clyk,Dum ,|
00000b80  45 61 73 46 2c 46 6f 72  20 2c 48 61 6d 6e 2c 4b  |EasF,For ,Hamn,K|
00000b90  69 6c 20 2c 4d 65 61 20  2c 50 61 72 54 2c 51 53  |il ,Mea ,ParT,QS|
00000ba0  2c 22 52 61 69 20 22 0d  04 06 47 dc 20 41 79 72  |,"Rai "...G. Ayr|
00000bb0  55 2c 41 6c 6c 20 2c 41  6c 62 20 2c 41 72 62 20  |U,All ,Alb ,Arb |
00000bc0  2c 42 65 72 20 2c 42 72  65 63 20 2c 43 6f 77 20  |,Ber ,Brec ,Cow |
00000bd0  2c 45 53 2c 4d 6f 6e 74  20 2c 51 50 2c 53 4a 2c  |,ES,Mont ,QP,SJ,|
00000be0  53 41 2c 53 74 72 20 2c  22 53 74 65 20 22 0d 04  |SA,Str ,"Ste "..|
00000bf0  10 0b dd f2 70 72 69 6e  74 0d 04 1a 17 f1 27 27  |....print.....''|
00000c00  22 81 43 68 65 63 6b 20  73 68 6f 77 73 20 22 3b  |".Check shows ";|
00000c10  0d 04 24 1d e7 72 65 74  72 79 20 f1 22 73 6f 6d  |..$..retry ."som|
00000c20  65 20 22 3b 8b 20 f1 22  6e 6f 20 22 3b 0d 04 2e  |e ";. ."no ";...|
00000c30  0f f1 22 65 72 72 6f 72  73 3a 22 27 0d 04 38 0b  |.."errors:"'..8.|
00000c40  2a 46 58 31 35 2c 31 0d  04 42 2b f1 22 4e 6f 2e  |*FX15,1..B+."No.|
00000c50  20 20 54 65 61 6d 22 3b  89 31 31 3b 22 50 20 20  |  Team";.11;"P  |
00000c60  57 20 20 44 20 20 4c 20  20 46 20 20 41 20 50 74  |W  D  L  F  A Pt|
00000c70  73 22 0d 04 4c 0c e3 58  3d 31 b8 31 33 30 0d 04  |s"..L..X=1.130..|
00000c80  56 23 f1 c2 22 20 20 22  2b c3 28 58 29 2c 33 29  |V#.."  "+.(X),3)|
00000c90  2b 22 20 20 22 2b 74 24  28 58 29 2b 22 20 20 22  |+"  "+t$(X)+"  "|
00000ca0  3b 0d 04 60 13 e7 50 28  58 29 3d 30 20 f1 3a e5  |;..`..P(X)=0 .:.|
00000cb0  8d 74 48 44 0d 04 6a 26  f1 c2 22 20 22 2b c3 28  |.tHD..j&.." "+.(|
00000cc0  50 28 58 29 29 2c 32 29  3b c2 22 20 20 22 2b c3  |P(X)),2);."  "+.|
00000cd0  28 57 28 58 29 29 2c 33  29 3b 0d 04 74 49 f1 c2  |(W(X)),3);..tI..|
00000ce0  22 20 20 22 2b c3 28 44  28 58 29 29 2c 33 29 3b  |"  "+.(D(X)),3);|
00000cf0  c2 22 20 20 22 2b c3 28  4c 28 58 29 29 2c 33 29  |."  "+.(L(X)),3)|
00000d00  3b c2 22 20 20 22 2b c3  28 46 28 58 29 29 2c 33  |;."  "+.(F(X)),3|
00000d10  29 3b c2 22 20 20 22 2b  c3 28 41 28 58 29 29 2c  |);."  "+.(A(X)),|
00000d20  33 29 3b 0d 04 7e 17 f1  c2 22 20 20 20 22 2b c3  |3);..~..."   "+.|
00000d30  28 50 54 28 58 29 29 2c  34 29 0d 04 88 26 ed 3a  |(PT(X)),4)...&.:|
00000d40  ef 33 3a f1 27 27 22 50  72 65 73 73 20 53 50 41  |.3:.''"Press SPA|
00000d50  43 45 2d 42 41 52 20 22  3b 3a f5 fd a5 3d 33 32  |CE-BAR ";:...=32|
00000d60  0d 04 92 05 e1 0d 04 9c  05 3a 0d 04 a6 0c dd f2  |.........:......|
00000d70  76 65 72 69 66 79 0d 04  b0 0b 72 65 74 72 79 3d  |verify....retry=|
00000d80  a3 0d 04 ba 0c e3 41 3d  31 b8 31 33 30 0d 04 c4  |......A=1.130...|
00000d90  19 e7 50 28 41 29 3d 30  20 72 65 74 72 79 3d b9  |..P(A)=0 retry=.|
00000da0  3a 41 3d 31 33 30 0d 04  ce 05 ed 0d 04 d8 05 e1  |:A=130..........|
00000db0  0d 04 e2 05 3a 0d 04 ec  12 dd f2 69 6e 74 65 72  |....:......inter|
00000dc0  6d 65 64 69 61 74 65 0d  04 f6 0b f1 27 6c 6f 67  |mediate.....'log|
00000dd0  6f 24 0d 05 00 05 e1 0d  05 0a 05 3a 0d 05 14 16  |o$.........:....|
00000de0  dd f2 6d 61 74 63 68 65  73 3a ea 58 2c 6d 2c 6e  |..matches:.X,m,n|
00000df0  2c 63 0d 05 1e 1a db 3a  f1 6c 6f 67 6f 24 3a ef  |,c.....:.logo$:.|
00000e00  32 38 2c 30 2c 32 34 2c  33 39 2c 34 0d 05 28 18  |28,0,24,39,4..(.|
00000e10  e7 73 61 76 65 25 3a 66  69 6c 65 3d ae 22 4d 44  |.save%:file=."MD|
00000e20  41 54 41 22 0d 05 32 18  e7 72 65 61 64 25 3a 66  |ATA"..2..read%:f|
00000e30  69 6c 65 3d ad 22 4d 44  41 54 41 22 0d 05 3c 05  |ile=."MDATA"..<.|
00000e40  f5 0d 05 46 1f 63 3d 63  2b 31 3a e7 63 3d 28 6d  |...F.c=c+1:.c=(m|
00000e50  61 78 25 2b 31 29 20 6d  3d 30 3a e5 8d 54 44 46  |ax%+1) m=0:..TDF|
00000e60  0d 05 50 1c f1 3b 63 3b  8a 31 38 29 22 76 73 2e  |..P..;c;.18)"vs.|
00000e70  22 3b 3a f5 3a ef 38 3a  fd b1 3d 33 0d 05 5a 20  |";:.:.8:..=3..Z |
00000e80  e7 72 65 61 64 25 3a 6d  3d 9a 23 66 69 6c 65 3a  |.read%:m=.#file:|
00000e90  e7 6d 3d 32 35 35 20 6d  3d 39 39 39 0d 05 64 20  |.m=255 m=999..d |
00000ea0  e7 72 65 61 64 25 3a f1  22 86 4e 6f 2e 83 22 3b  |.read%:.".No..";|
00000eb0  6d 3a 8b e8 22 86 4e 6f  2e 83 22 6d 0d 05 6e 22  |m:..".No.."m..n"|
00000ec0  e7 6d 3d 39 39 39 20 80  73 61 76 65 25 3a d5 23  |.m=999 .save%:.#|
00000ed0  66 69 6c 65 2c 32 35 35  3a e5 8d 74 42 45 0d 05  |file,255:..tBE..|
00000ee0  78 13 e7 73 61 76 65 25  3a d5 23 66 69 6c 65 2c  |x..save%:.#file,|
00000ef0  6d 0d 05 82 10 e7 6d 3d  39 39 39 20 e5 8d 64 7a  |m.....m=999 ..dz|
00000f00  45 0d 05 8c 23 e7 6d 3e  31 33 30 20 80 73 61 76  |E...#.m>130 .sav|
00000f10  65 25 3a cf 23 66 69 6c  65 3d 28 8f 23 66 69 6c  |e%:.#file=(.#fil|
00000f20  65 29 2d 31 0d 05 96 10  e7 6d 3e 31 33 30 20 e5  |e)-1.....m>130 .|
00000f30  8d 44 64 45 0d 05 a0 0e  e7 6d 3d 30 20 e5 8d 54  |.DdE.....m=0 ..T|
00000f40  44 46 0d 05 aa 23 f5 3a  ef 38 3a fd b1 3d 33 3a  |DF...#.:.8:..=3:|
00000f50  f1 c0 74 24 28 6d 29 2b  c4 31 31 2c 22 20 22 29  |..t$(m)+.11," ")|
00000f60  2c 31 31 29 3b 0d 05 b4  34 f5 3a ef 39 3a fd b1  |,11);...4.:.9:..|
00000f70  3d 32 33 3a e7 72 65 61  64 25 3a 6e 3d 9a 23 66  |=23:.read%:n=.#f|
00000f80  69 6c 65 3a f1 22 82 4e  6f 2e 86 22 3b 6e 3a 8b  |ile:.".No..";n:.|
00000f90  e8 22 82 4e 6f 2e 86 22  6e 0d 05 be 23 e7 6e 3e  |.".No.."n...#.n>|
00000fa0  31 33 30 20 80 73 61 76  65 25 3a cf 23 66 69 6c  |130 .save%:.#fil|
00000fb0  65 3d 28 8f 23 66 69 6c  65 29 2d 31 0d 05 c8 10  |e=(.#file)-1....|
00000fc0  e7 6e 3e 31 33 30 20 e5  8d 44 64 45 0d 05 d2 13  |.n>130 ..DdE....|
00000fd0  e7 73 61 76 65 25 3a d5  23 66 69 6c 65 2c 6e 0d  |.save%:.#file,n.|
00000fe0  05 dc 23 f5 3a ef 38 3a  fd b1 3d 32 33 3a f1 c0  |..#.:.8:..=23:..|
00000ff0  74 24 28 6e 29 2b c4 31  31 2c 22 20 22 29 2c 31  |t$(n)+.11," "),1|
00001000  31 29 0d 05 e6 23 e7 50  28 6e 29 3d 30 20 84 20  |1)...#.P(n)=0 . |
00001010  50 28 6d 29 3d 30 20 6d  28 63 29 3d 31 30 30 3a  |P(m)=0 m(c)=100:|
00001020  e5 8d 54 44 46 0d 05 f0  11 6d 28 63 29 3d 94 28  |..TDF....m(c)=.(|
00001030  a4 63 61 6c 63 29 0d 05  fa 0a 6e 28 63 29 3d 63  |.calc)....n(c)=c|
00001040  0d 06 04 08 fd 6d 3d 30  0d 06 0e 2e f1 22 41 6e  |.....m=0....."An|
00001050  79 20 61 6c 74 65 72 61  74 69 6f 6e 73 3f 20 22  |y alterations? "|
00001060  3b 3a e7 20 28 a5 20 80  26 44 46 29 3c 3e 38 39  |;:. (. .&DF)<>89|
00001070  20 e5 8d 54 62 46 0d 06  18 43 72 65 61 64 25 3d  | ..TbF...Cread%=|
00001080  a3 3a f1 27 3a f5 3a e8  22 4d 61 74 63 68 20 6e  |.:.':.:."Match n|
00001090  6f 2e 3a 20 22 63 3a e7  63 3d 30 20 6d 3d 30 3a  |o.: "c:.c=0 m=0:|
000010a0  e5 8d 54 44 46 20 8b 20  f2 73 65 74 70 6f 69 6e  |..TDF . .setpoin|
000010b0  74 65 72 3a e5 8d 44 50  45 0d 06 22 07 db 3a e1  |ter:..DPE.."..:.|
000010c0  0d 06 2c 0c dd f2 73 65  6c 65 63 74 0d 06 36 23  |..,...select..6#|
000010d0  f1 27 27 27 22 81 50 6c  65 61 73 65 20 77 61 69  |.'''".Please wai|
000010e0  74 20 61 20 6d 6f 6d 65  6e 74 2e 2e 2e 22 3b 0d  |t a moment...";.|
000010f0  06 40 09 f2 73 6f 72 74  0d 06 4a 18 62 3d 2d 31  |.@..sort..J.b=-1|
00001100  3a f5 3a 62 3d 62 2b 31  3a fd 6d 28 62 29 3e 30  |:.:b=b+1:.m(b)>0|
00001110  0d 06 54 1f db 3a e7 a4  70 72 69 6e 74 65 72 20  |..T..:..printer |
00001120  ef 32 3a 70 74 72 3d b9  20 8b 70 74 72 3d a3 0d  |.2:ptr=. .ptr=..|
00001130  06 5e 12 4d 44 25 3d ae  28 22 52 44 41 54 41 22  |.^.MD%=.("RDATA"|
00001140  29 0d 06 68 1a f1 22 83  22 3b 64 61 74 65 24 27  |)..h..".";date$'|
00001150  3a e3 61 3d 62 20 b8 62  2b 31 37 0d 06 72 51 f1  |:.a=b .b+17..rQ.|
00001160  22 83 43 68 6f 69 63 65  20 22 3b 61 2b 31 2d 62  |".Choice ";a+1-b|
00001170  2c 3b 8a 31 31 29 22 86  43 6f 75 70 6f 6e 20 6e  |,;.11)".Coupon n|
00001180  6f 2e 20 22 3b 6e 28 61  29 3b 8a 32 36 29 22 81  |o. ";n(a);.26)".|
00001190  56 61 6c 75 65 3a 22 3b  3a ef 33 2c 31 33 35 3a  |Value:";:.3,135:|
000011a0  e7 70 74 72 20 ef 32 2c  31 2c 33 32 0d 06 7c 17  |.ptr .2,1,32..|.|
000011b0  f1 3b 6d 28 61 29 3a d5  23 4d 44 25 2c 6e 28 61  |.;m(a):.#MD%,n(a|
000011c0  29 3a ed 0d 06 86 0c ef  33 3a d9 23 4d 44 25 0d  |):......3:.#MD%.|
000011d0  06 90 15 dd a4 6f 66 66  73 65 74 28 6c 69 6e 65  |.....offset(line|
000011e0  29 3a ea 6f 0d 06 9a 11  3f 28 6c 69 6e 65 2b 34  |):.o....?(line+4|
000011f0  30 29 3d 26 44 0d 06 a4  3b f5 3a 6f 3d 6f 2b 31  |0)=&D...;.:o=o+1|
00001200  3a 77 3d a4 76 61 6c 28  24 28 6c 69 6e 65 2b 6f  |:w=.val($(line+o|
00001210  29 29 3a fd 20 77 3c 3e  30 20 80 20 97 28 c0 24  |)):. w<>0 . .(.$|
00001220  28 6c 69 6e 65 2b 6f 29  2c 31 29 29 3e 31 36 30  |(line+o),1))>160|
00001230  0d 06 ae 0f 6c 65 6e 3d  a9 28 c3 28 77 29 29 0d  |....len=.(.(w)).|
00001240  06 b8 0c 3d 6f 2d 32 2b  6c 65 6e 0d 06 c2 05 3a  |...=o-2+len....:|
00001250  0d 06 cc 0a dd f2 73 6f  72 74 0d 06 d6 0d e3 62  |......sort.....b|
00001260  3d 31 b8 6d 61 78 25 0d  06 e0 11 e3 61 3d 31 b8  |=1.max%.....a=1.|
00001270  28 6d 61 78 25 2d 31 29  0d 06 ea 58 e7 6d 28 61  |(max%-1)...X.m(a|
00001280  29 3e 6d 28 61 2b 31 29  20 74 65 6d 70 31 3d 6e  |)>m(a+1) temp1=n|
00001290  28 61 29 3a 6e 28 61 29  3d 6e 28 61 2b 31 29 3a  |(a):n(a)=n(a+1):|
000012a0  6e 28 61 2b 31 29 3d 74  65 6d 70 31 3a 74 65 6d  |n(a+1)=temp1:tem|
000012b0  70 31 3d 6d 28 61 29 3a  6d 28 61 29 3d 6d 28 61  |p1=m(a):m(a)=m(a|
000012c0  2b 31 29 3a 6d 28 61 2b  31 29 3d 74 65 6d 70 31  |+1):m(a+1)=temp1|
000012d0  0d 06 f4 05 ed 0d 06 fe  05 ed 0d 07 08 05 e1 0d  |................|
000012e0  07 12 0b dd f2 74 65 61  6d 73 0d 07 1c 16 e7 73  |.....teams.....s|
000012f0  61 76 65 32 25 3a f2 73  61 76 65 4c 64 61 74 61  |ave2%:.saveLdata|
00001300  0d 07 26 13 e7 72 65 61  64 32 25 3d b9 20 e5 8d  |..&..read2%=. ..|
00001310  44 76 47 0d 07 30 3c db  3a f1 27 6c 6f 67 6f 24  |DvG..0<.:.'logo$|
00001320  3b 8a 30 2c 31 30 29 22  86 44 6f 20 79 6f 75 20  |;.0,10)".Do you |
00001330  77 61 6e 74 20 61 20 6c  69 73 74 20 6f 66 20 74  |want a list of t|
00001340  65 61 6d 73 20 26 20 6e  6f 27 73 3f 20 22 3b 0d  |eams & no's? ";.|
00001350  07 3a 1b f5 3a 51 3d a5  20 80 26 44 46 3a fd 20  |.:..:Q=. .&DF:. |
00001360  51 3d 38 39 20 84 51 3d  37 38 0d 07 44 05 db 0d  |Q=89 .Q=78..D...|
00001370  07 4e 0b e7 51 3d 37 38  20 e1 0d 07 58 18 e7 a4  |.N..Q=78 ...X...|
00001380  70 72 69 6e 74 65 72 20  ef 31 35 2c 32 20 8b ef  |printer .15,2 ..|
00001390  31 34 0d 07 62 0a f2 70  72 69 6e 74 0d 07 6c 06  |14..b..print..l.|
000013a0  ef 33 0d 07 76 05 e1 0d  07 80 10 dd a4 70 72 69  |.3..v........pri|
000013b0  6e 74 65 72 3a ea 41 0d  07 8a 14 ef 32 2c 31 2c  |nter:.A.....2,1,|
000013c0  30 2c 31 2c 30 2c 31 2c  30 2c 33 0d 07 94 13 41  |0,1,0,1,0,3....A|
000013d0  3d 96 28 2d 34 29 3a 2a  46 58 32 31 2c 33 0d 07  |=.(-4):*FX21,3..|
000013e0  9e 10 e7 41 3c 36 33 20  3d a3 20 8b 3d b9 0d 07  |...A<63 =. .=...|
000013f0  a8 0a dd f2 64 69 73 63  0d 07 b2 2f 51 3d ad 28  |....disc.../Q=.(|
00001400  22 4d 44 41 54 41 22 29  3a d9 23 51 3a e7 51 3d  |"MDATA"):.#Q:.Q=|
00001410  30 20 72 65 61 64 25 3d  a3 3a 73 61 76 65 25 3d  |0 read%=.:save%=|
00001420  b9 3a e5 8d 64 64 47 0d  07 bc 3a f1 27 27 27 22  |.:..ddG...:.'''"|
00001430  81 49 73 20 74 68 65 20  6d 61 74 63 68 20 64 61  |.Is the match da|
00001440  74 61 20 74 6f 20 62 65  86 52 45 41 44 20 46 52  |ta to be.READ FR|
00001450  4f 4d 81 64 69 73 63 3f  83 28 59 2f 4e 29 82 22  |OM.disc?.(Y/N)."|
00001460  3b 0d 07 c6 1a f5 3a 51  3d a5 20 80 26 44 46 3a  |;.....:Q=. .&DF:|
00001470  fd 51 3d 37 38 20 84 51  3d 38 39 0d 07 d0 36 e7  |.Q=78 .Q=89...6.|
00001480  51 3d 38 39 20 f1 22 59  65 73 22 3a 72 65 61 64  |Q=89 ."Yes":read|
00001490  25 3d b9 3a 73 61 76 65  25 3d a3 3a e5 8d 64 64  |%=.:save%=.:..dd|
000014a0  47 3a 8b 72 65 61 64 25  3d a3 3a f1 22 4e 6f 2e  |G:.read%=.:."No.|
000014b0  22 0d 07 da 0b 73 61 76  65 25 3d b9 0d 07 e4 31  |"....save%=....1|
000014c0  51 3d ad 28 22 4c 44 41  54 41 22 29 3a d9 23 51  |Q=.("LDATA"):.#Q|
000014d0  3a e7 51 3d 30 20 72 65  61 64 32 25 3d a3 3a 73  |:.Q=0 read2%=.:s|
000014e0  61 76 65 32 25 3d b9 3a  e5 8d 54 56 48 0d 07 ee  |ave2%=.:..TVH...|
000014f0  39 f1 27 27 22 81 4c 65  61 67 75 65 20 64 61 74  |9.''".League dat|
00001500  61 20 74 6f 20 62 65 86  52 45 41 44 20 46 52 4f  |a to be.READ FRO|
00001510  4d 81 64 69 73 63 3f 20  20 20 20 20 20 83 28 59  |M.disc?      .(Y|
00001520  2f 4e 29 82 22 3b 0d 07  f8 1a f5 3a 51 3d a5 20  |/N).";.....:Q=. |
00001530  80 26 44 46 3a fd 51 3d  37 38 20 84 51 3d 38 39  |.&DF:.Q=78 .Q=89|
00001540  0d 08 02 35 e7 51 3d 38  39 20 f1 22 59 65 73 22  |...5.Q=89 ."Yes"|
00001550  3a 72 65 61 64 32 25 3d  b9 3a 73 61 76 65 32 25  |:read2%=.:save2%|
00001560  3d a3 3a e1 3a 8b 72 65  61 64 32 25 3d a3 3a f1  |=.:.:.read2%=.:.|
00001570  22 4e 6f 2e 22 0d 08 0c  0c 73 61 76 65 32 25 3d  |"No."....save2%=|
00001580  b9 0d 08 16 05 e1 0d 08  20 10 dd f2 73 65 74 70  |........ ...setp|
00001590  6f 69 6e 74 65 72 0d 08  2a 19 e7 73 61 76 65 25  |ointer..*..save%|
000015a0  3a cf 23 66 69 6c 65 3d  32 2a 28 63 2d 31 29 0d  |:.#file=2*(c-1).|
000015b0  08 34 05 e1 0d 08 3e 0f  dd f2 73 61 76 65 4c 64  |.4....>...saveLd|
000015c0  61 74 61 0d 08 48 12 4c  64 61 74 61 3d ae 22 4c  |ata..H.Ldata=."L|
000015d0  44 41 54 41 22 0d 08 52  3a e3 51 3d 31 b8 31 33  |DATA"..R:.Q=1.13|
000015e0  30 3a f1 23 4c 64 61 74  61 2c 50 28 51 29 2c 57  |0:.#Ldata,P(Q),W|
000015f0  28 51 29 2c 44 28 51 29  2c 4c 28 51 29 2c 46 28  |(Q),D(Q),L(Q),F(|
00001600  51 29 2c 41 28 51 29 2c  50 54 28 51 29 3a ed 0d  |Q),A(Q),PT(Q):..|
00001610  08 5c 0d d9 23 4c 64 61  74 61 3a e1 0d 08 66 0f  |.\..#Ldata:...f.|
00001620  dd f2 72 65 61 64 4c 64  61 74 61 0d 08 70 35 f1  |..readLdata..p5.|
00001630  8a 30 2c 31 30 29 22 86  52 65 61 64 69 6e 67 20  |.0,10)".Reading |
00001640  6c 65 61 67 75 65 20 64  61 74 61 22 27 22 81 50  |league data"'".P|
00001650  6c 65 61 73 65 20 77 61  69 74 20 2e 2e 2e 22 3b  |lease wait ...";|
00001660  0d 08 7a 12 4c 64 61 74  61 3d ad 22 4c 44 41 54  |..z.Ldata=."LDAT|
00001670  41 22 0d 08 84 3a e3 51  3d 31 b8 31 33 30 3a e8  |A"...:.Q=1.130:.|
00001680  23 4c 64 61 74 61 2c 50  28 51 29 2c 57 28 51 29  |#Ldata,P(Q),W(Q)|
00001690  2c 44 28 51 29 2c 4c 28  51 29 2c 46 28 51 29 2c  |,D(Q),L(Q),F(Q),|
000016a0  41 28 51 29 2c 50 54 28  51 29 3a ed 0d 08 8e 0d  |A(Q),PT(Q):.....|
000016b0  d9 23 4c 64 61 74 61 3a  e1 0d 08 98 53 dd f2 73  |.#Ldata:....S..s|
000016c0  74 6f 70 3a db 3a f1 6c  6f 67 6f 24 27 27 27 22  |top:.:.logo$'''"|
000016d0  54 65 6c 65 74 65 78 74  20 61 64 61 70 74 65 72  |Teletext adapter|
000016e0  20 69 73 20 6e 6f 74 20  6f 6e 2e 22 27 22 50 6c  | is not on."'"Pl|
000016f0  65 61 73 65 20 63 68 65  63 6b 2c 20 74 68 65 6e  |ease check, then|
00001700  20 72 65 2d 6c 6f 61 64  2e 22 3a e1 0d 08 a2 0d  | re-load.":.....|
00001710  dd a4 42 42 43 64 61 74  65 0d 08 ac 14 f4 22 81  |..BBCdate.....".|
00001720  44 41 54 45 20 57 49 54  48 20 41 54 53 0d 08 b6  |DATE WITH ATS...|
00001730  0f d1 3d 30 3a f5 fd 91  3e 31 32 30 0d 08 c0 0f  |..=0:...>120....|
00001740  77 6f 72 6b 25 3d 26 37  30 30 30 0d 08 ca 35 41  |work%=&7000...5A|
00001750  25 3d 26 37 41 3a 58 25  3d 77 6f 72 6b 25 83 32  |%=&7A:X%=work%.2|
00001760  35 36 3a 59 25 3d 77 6f  72 6b 25 81 32 35 36 3a  |56:Y%=work%.256:|
00001770  3f 77 6f 72 6b 25 3d 31  35 3a d6 26 46 46 46 31  |?work%=15:.&FFF1|
00001780  0d 08 d4 18 42 42 31 24  3d c2 c3 7e 28 77 6f 72  |....BB1$=..~(wor|
00001790  6b 25 3f 38 29 2c 31 29  0d 08 de 2e 42 42 32 24  |k%?8),1)....BB2$|
000017a0  3d c3 7e 28 77 6f 72 6b  25 3f 39 29 3a e7 20 a9  |=.~(work%?9):. .|
000017b0  28 42 42 32 24 29 3d 31  20 42 42 32 24 3d 22 30  |(BB2$)=1 BB2$="0|
000017c0  22 2b 42 42 32 24 0d 08  e8 2f 42 42 33 24 3d c3  |"+BB2$.../BB3$=.|
000017d0  7e 28 77 6f 72 6b 25 3f  31 30 29 3a e7 20 a9 28  |~(work%?10):. .(|
000017e0  42 42 33 24 29 3d 31 20  42 42 33 24 3d 22 30 22  |BB3$)=1 BB3$="0"|
000017f0  2b 42 42 33 24 0d 08 f2  18 4a 44 3d bb 28 42 42  |+BB3$....JD=.(BB|
00001800  31 24 2b 42 42 32 24 2b  42 42 33 24 29 0d 08 fc  |1$+BB2$+BB3$)...|
00001810  23 e7 4a 44 3c 34 36 37  39 36 20 3d 22 44 61 74  |#.JD<46796 ="Dat|
00001820  65 20 6e 6f 74 20 61 76  61 69 6c 61 62 6c 65 22  |e not available"|
00001830  0d 09 06 1f 59 31 3d 28  31 30 30 2a 28 4a 44 2d  |....Y1=(100*(JD-|
00001840  31 35 30 37 38 2e 32 29  29 81 33 36 35 32 35 0d  |15078.2)).36525.|
00001850  09 10 2b 4d 31 3d a8 28  28 4a 44 2d 31 34 39 35  |..+M1=.((JD-1495|
00001860  36 2e 31 2d a8 28 33 36  35 2e 32 35 2a 59 31 29  |6.1-.(365.25*Y1)|
00001870  29 2f 33 30 2e 36 30 30  31 29 0d 09 1a 3c 44 25  |)/30.6001)...<D%|
00001880  3d 4a 44 2d 31 34 39 35  36 2d a8 28 33 36 35 2e  |=JD-14956-.(365.|
00001890  32 35 2a 59 31 29 2d a8  28 33 30 2e 36 2a 4d 31  |25*Y1)-.(30.6*M1|
000018a0  29 3a 4b 3d a8 28 30 2e  37 2b 28 31 2f 28 31 37  |):K=.(0.7+(1/(17|
000018b0  2d 4d 31 29 29 29 0d 09  24 10 4d 25 3d 4d 31 2d  |-M1)))..$.M%=M1-|
000018c0  31 2d 31 32 2a 4b 0d 09  2e 0b 5a 25 3d 59 31 2b  |1-12*K....Z%=Y1+|
000018d0  4b 0d 09 38 31 57 25 3d  28 4a 44 2b 33 29 83 37  |K..81W%=(JD+3).7|
000018e0  3a f7 8d 44 42 49 3a e3  64 61 79 3d 30 b8 57 25  |:..DBI:.day=0.W%|
000018f0  3a f3 44 24 3a ed 3a 44  24 3d 44 24 2b 22 64 61  |:.D$:.:D$=D$+"da|
00001900  79 22 0d 09 42 29 dc 20  53 75 6e 2c 4d 6f 6e 2c  |y"..B). Sun,Mon,|
00001910  54 75 65 73 2c 57 65 64  6e 65 73 2c 54 68 75 72  |Tues,Wednes,Thur|
00001920  73 2c 46 72 69 2c 53 61  74 75 72 0d 09 4c 1d f7  |s,Fri,Satur..L..|
00001930  8d 44 56 49 3a e3 64 61  79 3d 31 b8 4d 25 3a f3  |.DVI:.day=1.M%:.|
00001940  6d 6f 6e 74 68 24 3a ed  0d 09 56 5b dc 20 4a 61  |month$:...V[. Ja|
00001950  6e 75 61 72 79 2c 46 65  62 72 75 61 72 79 2c 4d  |nuary,February,M|
00001960  61 72 63 68 2c 41 70 72  69 6c 2c 4d 61 79 2c 4a  |arch,April,May,J|
00001970  75 6e 65 2c 4a 75 6c 79  2c 41 75 67 75 73 74 2c  |une,July,August,|
00001980  53 65 70 74 65 6d 62 65  72 2c 4f 63 74 6f 62 65  |September,Octobe|
00001990  72 2c 4e 6f 76 65 6d 62  65 72 2c 44 65 63 65 6d  |r,November,Decem|
000019a0  62 65 72 0d 09 60 54 e7  44 25 3d 31 84 44 25 3d  |ber..`T.D%=1.D%=|
000019b0  32 31 84 44 25 3d 33 31  20 74 68 24 3d 22 73 74  |21.D%=31 th$="st|
000019c0  22 20 8b e7 44 25 3d 32  84 44 25 3d 32 32 20 74  |" ..D%=2.D%=22 t|
000019d0  68 24 3d 22 6e 64 22 20  8b e7 44 25 3d 33 84 44  |h$="nd" ..D%=3.D|
000019e0  25 3d 32 33 20 74 68 24  3d 22 72 64 22 20 8b 74  |%=23 th$="rd" .t|
000019f0  68 24 3d 22 74 68 22 0d  09 6a 2d 3d 44 24 2b 22  |h$="th"..j-=D$+"|
00001a00  20 20 22 2b c3 28 44 25  29 2b 74 68 24 2b 22 20  |  "+.(D%)+th$+" |
00001a10  22 2b 6d 6f 6e 74 68 24  2b 22 20 31 39 22 2b c3  |"+month$+" 19"+.|
00001a20  28 5a 25 29 0d 09 74 17  dd a4 61 64 61 70 74 65  |(Z%)..t...adapte|
00001a30  72 3a de 20 77 6f 72 6b  25 20 32 0d 09 7e 48 41  |r:. work% 2..~HA|
00001a40  25 3d 26 37 41 3a 58 25  3d 77 6f 72 6b 25 83 32  |%=&7A:X%=work%.2|
00001a50  35 36 3a 59 25 3d 77 6f  72 6b 25 81 32 35 36 3a  |56:Y%=work%.256:|
00001a60  3f 77 6f 72 6b 25 3d 31  37 3a d6 26 46 46 46 31  |?work%=17:.&FFF1|
00001a70  3a e7 77 6f 72 6b 25 3f  31 3d 30 20 3d b9 20 8b  |:.work%?1=0 =. .|
00001a80  20 3d a3 0d 09 88 0a dd  a4 63 61 6c 63 0d 13 86  | =.......calc...|
00001a90  23 f4 22 85 43 68 61 6e  67 65 20 74 68 65 20 66  |#.".Change the f|
00001aa0  6f 6c 6c 6f 77 69 6e 67  20 66 6f 72 6d 75 6c 61  |ollowing formula|
00001ab0  0d 13 87 21 f4 22 85 74  6f 20 73 75 69 74 20 69  |...!.".to suit i|
00001ac0  6e 64 69 76 69 64 75 61  6c 20 6e 65 65 64 73 3a  |ndividual needs:|
00001ad0  2d 0d 13 88 10 3d 50 54  28 6d 29 2d 50 54 28 6e  |-....=PT(m)-PT(n|
00001ae0  29 0d ff                                          |)..|
00001ae3
09-04-88/FOOT.m0
09-04-88/FOOT.m1
09-04-88/FOOT.m2
09-04-88/FOOT.m4
09-04-88/FOOT.m5