Home » CEEFAX disks » telesoftware2.adl » 20_09_87/F\INFO

20_09_87/F\INFO

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 » telesoftware2.adl
Filename: 20_09_87/F\INFO
Read OK:
File size: 2232 bytes
Load address: 0000
Exec address: 0000
File contents
__________________________________________________________________________

These pools prediction programs have been completely overhauled for the
current season, and incorporate several ammendments to speed up their
operation and improve their ease of use. This process has inevitably led
to difficulties with some makes of adapter, and it is recommended that the
final paragraph is noted before using the programs.

__________________________________________________________________________

Pools Prediction Programs:
==========================

This suite of programs uses CEEFAX data to predict the football results
for the current week. There are three different programs:

1. Match
2. Foot
3. Results

Due to the memory constraints of the BBC micro, it has not been possible
to implement a data integrity check (CRC) of the requested CEEFAX pages,
therefore a good signal to your adapter is important.

1. Match:
=========

From about Wednesday onwards, BBC2 CEEFAX transmit the following
Saturday's fixture list. The program "Match" will analyse these
transmissions and create a data file of match data on disc. This file can
then be used by FOOT as match data, to avoid having to type in by hand the
teams playing in each match.

The program will check to see if the fixtures list is actually being
transmitted. If it finds it, the CEEFAX pages required are listed on
screen, with each found page being reported.

The data file is created automatically as each page is found. Several of
the system's page grabbers are used, which gives a considerable time
saving over previous versions of this program. As processing is carried
out, the match number (directly relating to the pools coupon number) of
each match found is briefly displayed on screen.

The program will inform you if the fixtures list is not yet available from
CEEFAX. If this is so, the program should be run again later in the week.

2. Foot:
========

This is the main prediction program. Before using this, however, some
things must be noted. The program uses CEEFAX data to compile information
from the league tables about each team playing in the league. This
information is then used to predict the outcome of the match. It is
important to understand how this process works, as the user must provide
his own algorithm using this data! The information is kept in the
following arrays:

ITEM                        HOME TEAM       AWAY TEAM
====                        =========       =========
League points gained:         PT(m)           PT(n)
Total matches played:         P(m)            P(n)
Goals scored for team:        F(m)            F(n)
Goals scored against team:    A(m)            A(n)
Games lost:                   L(m)            L(n)
Games won:                    W(m)            W(n)
Games drawn:                  D(m)            D(n)

A formula must be devised to use as much of this information as is
necessary to produce a winning solution. The formula must be of the form:

 = (Strength of away team) - (strength of home team)

i.e. it must calculate a value for the home team, then a value for the
away team, then subtract one result from the other. Calculations that
produce results closest to zero are considered more likely to be drawn
games than those producing high values. So two teams producing a similar
number will be more likely to result in a draw than two teams producing
very different values. The formula included in the program is very simple,
and only compares the two teams league positions. To give some idea of how
to enter a suitable formula, some examples of calculating team strength
follow:

 =(PT(m)+(D(m)*3)-W(m))-(PT(n)+(D(n)*3)-W(n))

This uses points gained, drawn games and games won for each team

 =(P(m)/D(m))-(P(n)/D(n))

calculates the number of matches played, divided by the number of matches
drawn for each team

 =PT(m)-PT(n)

calculates the number of points gained for each team

 =(P(m)/L(m))-(P(n)/W(n))

studies the number of games lost by the home team, and the number of games
won by away team (a perfectly "legal" if not very logical formula!)

These formulae can be very simple such as:

 =D(m)-D(n)

which compares the number of drawn matches of each team, or more complex,
such as:

 =((L(m)+(P(m)*20))*D(m))-((W(n)+(P(n)*20))*D(n))

which considers matches drawn, lost, won, etc. A winning solution is
likely to be even more involved! It should be remembered that,
particularly early in the season, several of these values will be equal to
zero, and an error will result if your formula includes a 'division
by zero'!

Your desired formula should replace the one given in line 5000 of the
program, then the new version saved to disc before use.

When the program is run, you are asked if the match data is to be read
from disc. This is only possible if it has previously been saved to disc
using the program "Match" (see above), but will save a lot of time if it 
can be read from a disc file. If the appropriate data file is not found on
your disc, the question will not be asked.

You are then asked if the league details are to be read from disc. Again,
this may only be done if this data has already been saved to disc from a
previous run of the "Foot" program. (The data is automatically saved to
disc each time "Foot" is run.) The question is not raised if the league
information is not available from disc.

If the league data has been taken from CEEFAX, you will then be offered a
chance to see (or print out) a list of the team names and their
corresponding numbers. This option is not available if the data is read
from disc, as the program then relies on a compressed version of the team
names which may not be very much help to you! The team names and numbers
will be needed later if you have opted to manually enter the fixtures
list. If a printout of this list is required, simply set your printer "on
line" before selecting this option.

The program proceeds to request the match data in numeric form. If the
data is read from disc, the fixtures list will be read in, stopping at the
bottom of each screen to allow you to look for any necessary corrections.
Press SHIFT to scroll the screen. If this data needs to be entered
manually, type in the appropriate team number at the prompt, as taken from
the team list offered earlier. Any corrections can be made after all the
match data has been entered.

The program will then calculate the most likely 18 matches to result in a
draw. If you want this selection sent to your printer, ensure that your
printer is "on line". Otherwise it will be sent to the screen only.

3. Results:
===========

During the execution of "Foot", a data file is created on disc of the
matches predicted. "Results" will analyse the actual results as
transmitted by CEEFAX, and calculate the maximum pools points that have
been gained using the given forecast.

If you use a pools entry with more (or less) than ten selections, the
appropriate line at the beginning of the program must be altered. The
program calculates the maximum points possible using a Full Perm plan,
but also presents the results in pools points format for normal checking
of a coupon.

The results are broadcast on BBC1 on a Saturday afternoon/evening, and
then are transferred to BBC2 for the early part of the following week.
The program detects the day on which it is run, and will select the
correct channel and page numbers automatically. (i.e. if run on Saturday,
it will select BBC1, pages 331 onwards, but if run on, say, Monday, it
will select BBC2, page 341.) A check is carried out to ensure the actual
results are obtained, and not the half-time results or other data. A
report will be given, and the program terminated if the results are not
found.

If a match is declared void, or a result decided by the Pools panel, the
correct pools points will be found. Such situations will be reported when
the results are listed by the program.

This program uses several of the system's page grabbers, resulting in a
much faster execution time than previous versions. Whilst each page from
CEEFAX is being processed, the screen will indicate briefly which
particular pools coupon match number is being studied at the time.


                                     (c) Jeremy Brayshaw   September 1987


Note: The programs have been written to operate with the BBC Microcomputer
System Teletext Adapter (the Acorn system) and ATS software. They are not
guaranteed to function correctly on other makes of adapter, or with the
Acorn TFS. This is because some other teletext adapters use less versatile
teletext reception chips, and it is not possible to implement multiple
simultaneous page grabbers. Systems without ATS may not use the same
commands, or implement them in the same way.
00000000  0d 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |._______________|
00000010  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
*
00000040  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 0d 0d 54 68 65  |___________..The|
00000050  73 65 20 70 6f 6f 6c 73  20 70 72 65 64 69 63 74  |se pools predict|
00000060  69 6f 6e 20 70 72 6f 67  72 61 6d 73 20 68 61 76  |ion programs hav|
00000070  65 20 62 65 65 6e 20 63  6f 6d 70 6c 65 74 65 6c  |e been completel|
00000080  79 20 6f 76 65 72 68 61  75 6c 65 64 20 66 6f 72  |y overhauled for|
00000090  20 74 68 65 0d 63 75 72  72 65 6e 74 20 73 65 61  | the.current sea|
000000a0  73 6f 6e 2c 20 61 6e 64  20 69 6e 63 6f 72 70 6f  |son, and incorpo|
000000b0  72 61 74 65 20 73 65 76  65 72 61 6c 20 61 6d 6d  |rate several amm|
000000c0  65 6e 64 6d 65 6e 74 73  20 74 6f 20 73 70 65 65  |endments to spee|
000000d0  64 20 75 70 20 74 68 65  69 72 0d 6f 70 65 72 61  |d up their.opera|
000000e0  74 69 6f 6e 20 61 6e 64  20 69 6d 70 72 6f 76 65  |tion and improve|
000000f0  20 74 68 65 69 72 20 65  61 73 65 20 6f 66 20 75  | their ease of u|
00000100  73 65 2e 20 54 68 69 73  20 70 72 6f 63 65 73 73  |se. This process|
00000110  20 68 61 73 20 69 6e 65  76 69 74 61 62 6c 79 20  | has inevitably |
00000120  6c 65 64 0d 74 6f 20 64  69 66 66 69 63 75 6c 74  |led.to difficult|
00000130  69 65 73 20 77 69 74 68  20 73 6f 6d 65 20 6d 61  |ies with some ma|
00000140  6b 65 73 20 6f 66 20 61  64 61 70 74 65 72 2c 20  |kes of adapter, |
00000150  61 6e 64 20 69 74 20 69  73 20 72 65 63 6f 6d 6d  |and it is recomm|
00000160  65 6e 64 65 64 20 74 68  61 74 20 74 68 65 0d 66  |ended that the.f|
00000170  69 6e 61 6c 20 70 61 72  61 67 72 61 70 68 20 69  |inal paragraph i|
00000180  73 20 6e 6f 74 65 64 20  62 65 66 6f 72 65 20 75  |s noted before u|
00000190  73 69 6e 67 20 74 68 65  20 70 72 6f 67 72 61 6d  |sing the program|
000001a0  73 2e 0d 0d 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |s...____________|
000001b0  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 5f 5f  |________________|
*
000001e0  5f 5f 5f 5f 5f 5f 5f 5f  5f 5f 5f 5f 5f 5f 0d 0d  |______________..|
000001f0  50 6f 6f 6c 73 20 50 72  65 64 69 63 74 69 6f 6e  |Pools Prediction|
00000200  20 50 72 6f 67 72 61 6d  73 3a 0d 3d 3d 3d 3d 3d  | Programs:.=====|
00000210  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000220  3d 3d 3d 3d 3d 0d 0d 54  68 69 73 20 73 75 69 74  |=====..This suit|
00000230  65 20 6f 66 20 70 72 6f  67 72 61 6d 73 20 75 73  |e of programs us|
00000240  65 73 20 43 45 45 46 41  58 20 64 61 74 61 20 74  |es CEEFAX data t|
00000250  6f 20 70 72 65 64 69 63  74 20 74 68 65 20 66 6f  |o predict the fo|
00000260  6f 74 62 61 6c 6c 20 72  65 73 75 6c 74 73 0d 66  |otball results.f|
00000270  6f 72 20 74 68 65 20 63  75 72 72 65 6e 74 20 77  |or the current w|
00000280  65 65 6b 2e 20 54 68 65  72 65 20 61 72 65 20 74  |eek. There are t|
00000290  68 72 65 65 20 64 69 66  66 65 72 65 6e 74 20 70  |hree different p|
000002a0  72 6f 67 72 61 6d 73 3a  0d 0d 31 2e 20 4d 61 74  |rograms:..1. Mat|
000002b0  63 68 0d 32 2e 20 46 6f  6f 74 0d 33 2e 20 52 65  |ch.2. Foot.3. Re|
000002c0  73 75 6c 74 73 0d 0d 44  75 65 20 74 6f 20 74 68  |sults..Due to th|
000002d0  65 20 6d 65 6d 6f 72 79  20 63 6f 6e 73 74 72 61  |e memory constra|
000002e0  69 6e 74 73 20 6f 66 20  74 68 65 20 42 42 43 20  |ints of the BBC |
000002f0  6d 69 63 72 6f 2c 20 69  74 20 68 61 73 20 6e 6f  |micro, it has no|
00000300  74 20 62 65 65 6e 20 70  6f 73 73 69 62 6c 65 0d  |t been possible.|
00000310  74 6f 20 69 6d 70 6c 65  6d 65 6e 74 20 61 20 64  |to implement a d|
00000320  61 74 61 20 69 6e 74 65  67 72 69 74 79 20 63 68  |ata integrity ch|
00000330  65 63 6b 20 28 43 52 43  29 20 6f 66 20 74 68 65  |eck (CRC) of the|
00000340  20 72 65 71 75 65 73 74  65 64 20 43 45 45 46 41  | requested CEEFA|
00000350  58 20 70 61 67 65 73 2c  0d 74 68 65 72 65 66 6f  |X pages,.therefo|
00000360  72 65 20 61 20 67 6f 6f  64 20 73 69 67 6e 61 6c  |re a good signal|
00000370  20 74 6f 20 79 6f 75 72  20 61 64 61 70 74 65 72  | to your adapter|
00000380  20 69 73 20 69 6d 70 6f  72 74 61 6e 74 2e 0d 0d  | is important...|
00000390  31 2e 20 4d 61 74 63 68  3a 0d 3d 3d 3d 3d 3d 3d  |1. Match:.======|
000003a0  3d 3d 3d 0d 0d 46 72 6f  6d 20 61 62 6f 75 74 20  |===..From about |
000003b0  57 65 64 6e 65 73 64 61  79 20 6f 6e 77 61 72 64  |Wednesday onward|
000003c0  73 2c 20 42 42 43 32 20  43 45 45 46 41 58 20 74  |s, BBC2 CEEFAX t|
000003d0  72 61 6e 73 6d 69 74 20  74 68 65 20 66 6f 6c 6c  |ransmit the foll|
000003e0  6f 77 69 6e 67 0d 53 61  74 75 72 64 61 79 27 73  |owing.Saturday's|
000003f0  20 66 69 78 74 75 72 65  20 6c 69 73 74 2e 20 54  | fixture list. T|
00000400  68 65 20 70 72 6f 67 72  61 6d 20 22 4d 61 74 63  |he program "Matc|
00000410  68 22 20 77 69 6c 6c 20  61 6e 61 6c 79 73 65 20  |h" will analyse |
00000420  74 68 65 73 65 0d 74 72  61 6e 73 6d 69 73 73 69  |these.transmissi|
00000430  6f 6e 73 20 61 6e 64 20  63 72 65 61 74 65 20 61  |ons and create a|
00000440  20 64 61 74 61 20 66 69  6c 65 20 6f 66 20 6d 61  | data file of ma|
00000450  74 63 68 20 64 61 74 61  20 6f 6e 20 64 69 73 63  |tch data on disc|
00000460  2e 20 54 68 69 73 20 66  69 6c 65 20 63 61 6e 0d  |. This file can.|
00000470  74 68 65 6e 20 62 65 20  75 73 65 64 20 62 79 20  |then be used by |
00000480  46 4f 4f 54 20 61 73 20  6d 61 74 63 68 20 64 61  |FOOT as match da|
00000490  74 61 2c 20 74 6f 20 61  76 6f 69 64 20 68 61 76  |ta, to avoid hav|
000004a0  69 6e 67 20 74 6f 20 74  79 70 65 20 69 6e 20 62  |ing to type in b|
000004b0  79 20 68 61 6e 64 20 74  68 65 0d 74 65 61 6d 73  |y hand the.teams|
000004c0  20 70 6c 61 79 69 6e 67  20 69 6e 20 65 61 63 68  | playing in each|
000004d0  20 6d 61 74 63 68 2e 0d  0d 54 68 65 20 70 72 6f  | match...The pro|
000004e0  67 72 61 6d 20 77 69 6c  6c 20 63 68 65 63 6b 20  |gram will check |
000004f0  74 6f 20 73 65 65 20 69  66 20 74 68 65 20 66 69  |to see if the fi|
00000500  78 74 75 72 65 73 20 6c  69 73 74 20 69 73 20 61  |xtures list is a|
00000510  63 74 75 61 6c 6c 79 20  62 65 69 6e 67 0d 74 72  |ctually being.tr|
00000520  61 6e 73 6d 69 74 74 65  64 2e 20 49 66 20 69 74  |ansmitted. If it|
00000530  20 66 69 6e 64 73 20 69  74 2c 20 74 68 65 20 43  | finds it, the C|
00000540  45 45 46 41 58 20 70 61  67 65 73 20 72 65 71 75  |EEFAX pages requ|
00000550  69 72 65 64 20 61 72 65  20 6c 69 73 74 65 64 20  |ired are listed |
00000560  6f 6e 0d 73 63 72 65 65  6e 2c 20 77 69 74 68 20  |on.screen, with |
00000570  65 61 63 68 20 66 6f 75  6e 64 20 70 61 67 65 20  |each found page |
00000580  62 65 69 6e 67 20 72 65  70 6f 72 74 65 64 2e 0d  |being reported..|
00000590  0d 54 68 65 20 64 61 74  61 20 66 69 6c 65 20 69  |.The data file i|
000005a0  73 20 63 72 65 61 74 65  64 20 61 75 74 6f 6d 61  |s created automa|
000005b0  74 69 63 61 6c 6c 79 20  61 73 20 65 61 63 68 20  |tically as each |
000005c0  70 61 67 65 20 69 73 20  66 6f 75 6e 64 2e 20 53  |page is found. S|
000005d0  65 76 65 72 61 6c 20 6f  66 0d 74 68 65 20 73 79  |everal of.the sy|
000005e0  73 74 65 6d 27 73 20 70  61 67 65 20 67 72 61 62  |stem's page grab|
000005f0  62 65 72 73 20 61 72 65  20 75 73 65 64 2c 20 77  |bers are used, w|
00000600  68 69 63 68 20 67 69 76  65 73 20 61 20 63 6f 6e  |hich gives a con|
00000610  73 69 64 65 72 61 62 6c  65 20 74 69 6d 65 0d 73  |siderable time.s|
00000620  61 76 69 6e 67 20 6f 76  65 72 20 70 72 65 76 69  |aving over previ|
00000630  6f 75 73 20 76 65 72 73  69 6f 6e 73 20 6f 66 20  |ous versions of |
00000640  74 68 69 73 20 70 72 6f  67 72 61 6d 2e 20 41 73  |this program. As|
00000650  20 70 72 6f 63 65 73 73  69 6e 67 20 69 73 20 63  | processing is c|
00000660  61 72 72 69 65 64 0d 6f  75 74 2c 20 74 68 65 20  |arried.out, the |
00000670  6d 61 74 63 68 20 6e 75  6d 62 65 72 20 28 64 69  |match number (di|
00000680  72 65 63 74 6c 79 20 72  65 6c 61 74 69 6e 67 20  |rectly relating |
00000690  74 6f 20 74 68 65 20 70  6f 6f 6c 73 20 63 6f 75  |to the pools cou|
000006a0  70 6f 6e 20 6e 75 6d 62  65 72 29 20 6f 66 0d 65  |pon number) of.e|
000006b0  61 63 68 20 6d 61 74 63  68 20 66 6f 75 6e 64 20  |ach match found |
000006c0  69 73 20 62 72 69 65 66  6c 79 20 64 69 73 70 6c  |is briefly displ|
000006d0  61 79 65 64 20 6f 6e 20  73 63 72 65 65 6e 2e 0d  |ayed on screen..|
000006e0  0d 54 68 65 20 70 72 6f  67 72 61 6d 20 77 69 6c  |.The program wil|
000006f0  6c 20 69 6e 66 6f 72 6d  20 79 6f 75 20 69 66 20  |l inform you if |
00000700  74 68 65 20 66 69 78 74  75 72 65 73 20 6c 69 73  |the fixtures lis|
00000710  74 20 69 73 20 6e 6f 74  20 79 65 74 20 61 76 61  |t is not yet ava|
00000720  69 6c 61 62 6c 65 20 66  72 6f 6d 0d 43 45 45 46  |ilable from.CEEF|
00000730  41 58 2e 20 49 66 20 74  68 69 73 20 69 73 20 73  |AX. If this is s|
00000740  6f 2c 20 74 68 65 20 70  72 6f 67 72 61 6d 20 73  |o, the program s|
00000750  68 6f 75 6c 64 20 62 65  20 72 75 6e 20 61 67 61  |hould be run aga|
00000760  69 6e 20 6c 61 74 65 72  20 69 6e 20 74 68 65 20  |in later in the |
00000770  77 65 65 6b 2e 0d 0d 32  2e 20 46 6f 6f 74 3a 0d  |week...2. Foot:.|
00000780  3d 3d 3d 3d 3d 3d 3d 3d  0d 0d 54 68 69 73 20 69  |========..This i|
00000790  73 20 74 68 65 20 6d 61  69 6e 20 70 72 65 64 69  |s the main predi|
000007a0  63 74 69 6f 6e 20 70 72  6f 67 72 61 6d 2e 20 42  |ction program. B|
000007b0  65 66 6f 72 65 20 75 73  69 6e 67 20 74 68 69 73  |efore using this|
000007c0  2c 20 68 6f 77 65 76 65  72 2c 20 73 6f 6d 65 0d  |, however, some.|
000007d0  74 68 69 6e 67 73 20 6d  75 73 74 20 62 65 20 6e  |things must be n|
000007e0  6f 74 65 64 2e 20 54 68  65 20 70 72 6f 67 72 61  |oted. The progra|
000007f0  6d 20 75 73 65 73 20 43  45 45 46 41 58 20 64 61  |m uses CEEFAX da|
00000800  74 61 20 74 6f 20 63 6f  6d 70 69 6c 65 20 69 6e  |ta to compile in|
00000810  66 6f 72 6d 61 74 69 6f  6e 0d 66 72 6f 6d 20 74  |formation.from t|
00000820  68 65 20 6c 65 61 67 75  65 20 74 61 62 6c 65 73  |he league tables|
00000830  20 61 62 6f 75 74 20 65  61 63 68 20 74 65 61 6d  | about each team|
00000840  20 70 6c 61 79 69 6e 67  20 69 6e 20 74 68 65 20  | playing in the |
00000850  6c 65 61 67 75 65 2e 20  54 68 69 73 0d 69 6e 66  |league. This.inf|
00000860  6f 72 6d 61 74 69 6f 6e  20 69 73 20 74 68 65 6e  |ormation is then|
00000870  20 75 73 65 64 20 74 6f  20 70 72 65 64 69 63 74  | used to predict|
00000880  20 74 68 65 20 6f 75 74  63 6f 6d 65 20 6f 66 20  | the outcome of |
00000890  74 68 65 20 6d 61 74 63  68 2e 20 49 74 20 69 73  |the match. It is|
000008a0  0d 69 6d 70 6f 72 74 61  6e 74 20 74 6f 20 75 6e  |.important to un|
000008b0  64 65 72 73 74 61 6e 64  20 68 6f 77 20 74 68 69  |derstand how thi|
000008c0  73 20 70 72 6f 63 65 73  73 20 77 6f 72 6b 73 2c  |s process works,|
000008d0  20 61 73 20 74 68 65 20  75 73 65 72 20 6d 75 73  | as the user mus|
000008e0  74 20 70 72 6f 76 69 64  65 0d 68 69 73 20 6f 77  |t provide.his ow|
000008f0  6e 20 61 6c 67 6f 72 69  74 68 6d 20 75 73 69 6e  |n algorithm usin|
00000900  67 20 74 68 69 73 20 64  61 74 61 21 20 54 68 65  |g this data! The|
00000910  20 69 6e 66 6f 72 6d 61  74 69 6f 6e 20 69 73 20  | information is |
00000920  6b 65 70 74 20 69 6e 20  74 68 65 0d 66 6f 6c 6c  |kept in the.foll|
00000930  6f 77 69 6e 67 20 61 72  72 61 79 73 3a 0d 0d 49  |owing arrays:..I|
00000940  54 45 4d 20 20 20 20 20  20 20 20 20 20 20 20 20  |TEM             |
00000950  20 20 20 20 20 20 20 20  20 20 20 48 4f 4d 45 20  |           HOME |
00000960  54 45 41 4d 20 20 20 20  20 20 20 41 57 41 59 20  |TEAM       AWAY |
00000970  54 45 41 4d 0d 3d 3d 3d  3d 20 20 20 20 20 20 20  |TEAM.====       |
00000980  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000990  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 20 20 20 20 20 20  | =========      |
000009a0  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 0d 4c 65 61 67 75  | =========.Leagu|
000009b0  65 20 70 6f 69 6e 74 73  20 67 61 69 6e 65 64 3a  |e points gained:|
000009c0  20 20 20 20 20 20 20 20  20 50 54 28 6d 29 20 20  |         PT(m)  |
000009d0  20 20 20 20 20 20 20 20  20 50 54 28 6e 29 0d 54  |         PT(n).T|
000009e0  6f 74 61 6c 20 6d 61 74  63 68 65 73 20 70 6c 61  |otal matches pla|
000009f0  79 65 64 3a 20 20 20 20  20 20 20 20 20 50 28 6d  |yed:         P(m|
00000a00  29 20 20 20 20 20 20 20  20 20 20 20 20 50 28 6e  |)            P(n|
00000a10  29 0d 47 6f 61 6c 73 20  73 63 6f 72 65 64 20 66  |).Goals scored f|
00000a20  6f 72 20 74 65 61 6d 3a  20 20 20 20 20 20 20 20  |or team:        |
00000a30  46 28 6d 29 20 20 20 20  20 20 20 20 20 20 20 20  |F(m)            |
00000a40  46 28 6e 29 0d 47 6f 61  6c 73 20 73 63 6f 72 65  |F(n).Goals score|
00000a50  64 20 61 67 61 69 6e 73  74 20 74 65 61 6d 3a 20  |d against team: |
00000a60  20 20 20 41 28 6d 29 20  20 20 20 20 20 20 20 20  |   A(m)         |
00000a70  20 20 20 41 28 6e 29 0d  47 61 6d 65 73 20 6c 6f  |   A(n).Games lo|
00000a80  73 74 3a 20 20 20 20 20  20 20 20 20 20 20 20 20  |st:             |
00000a90  20 20 20 20 20 20 4c 28  6d 29 20 20 20 20 20 20  |      L(m)      |
00000aa0  20 20 20 20 20 20 4c 28  6e 29 0d 47 61 6d 65 73  |      L(n).Games|
00000ab0  20 77 6f 6e 3a 20 20 20  20 20 20 20 20 20 20 20  | won:           |
00000ac0  20 20 20 20 20 20 20 20  20 57 28 6d 29 20 20 20  |         W(m)   |
00000ad0  20 20 20 20 20 20 20 20  20 57 28 6e 29 0d 47 61  |         W(n).Ga|
00000ae0  6d 65 73 20 64 72 61 77  6e 3a 20 20 20 20 20 20  |mes drawn:      |
00000af0  20 20 20 20 20 20 20 20  20 20 20 20 44 28 6d 29  |            D(m)|
00000b00  20 20 20 20 20 20 20 20  20 20 20 20 44 28 6e 29  |            D(n)|
00000b10  0d 0d 41 20 66 6f 72 6d  75 6c 61 20 6d 75 73 74  |..A formula must|
00000b20  20 62 65 20 64 65 76 69  73 65 64 20 74 6f 20 75  | be devised to u|
00000b30  73 65 20 61 73 20 6d 75  63 68 20 6f 66 20 74 68  |se as much of th|
00000b40  69 73 20 69 6e 66 6f 72  6d 61 74 69 6f 6e 20 61  |is information a|
00000b50  73 20 69 73 0d 6e 65 63  65 73 73 61 72 79 20 74  |s is.necessary t|
00000b60  6f 20 70 72 6f 64 75 63  65 20 61 20 77 69 6e 6e  |o produce a winn|
00000b70  69 6e 67 20 73 6f 6c 75  74 69 6f 6e 2e 20 54 68  |ing solution. Th|
00000b80  65 20 66 6f 72 6d 75 6c  61 20 6d 75 73 74 20 62  |e formula must b|
00000b90  65 20 6f 66 20 74 68 65  20 66 6f 72 6d 3a 0d 0d  |e of the form:..|
00000ba0  20 3d 20 28 53 74 72 65  6e 67 74 68 20 6f 66 20  | = (Strength of |
00000bb0  61 77 61 79 20 74 65 61  6d 29 20 2d 20 28 73 74  |away team) - (st|
00000bc0  72 65 6e 67 74 68 20 6f  66 20 68 6f 6d 65 20 74  |rength of home t|
00000bd0  65 61 6d 29 0d 0d 69 2e  65 2e 20 69 74 20 6d 75  |eam)..i.e. it mu|
00000be0  73 74 20 63 61 6c 63 75  6c 61 74 65 20 61 20 76  |st calculate a v|
00000bf0  61 6c 75 65 20 66 6f 72  20 74 68 65 20 68 6f 6d  |alue for the hom|
00000c00  65 20 74 65 61 6d 2c 20  74 68 65 6e 20 61 20 76  |e team, then a v|
00000c10  61 6c 75 65 20 66 6f 72  20 74 68 65 0d 61 77 61  |alue for the.awa|
00000c20  79 20 74 65 61 6d 2c 20  74 68 65 6e 20 73 75 62  |y team, then sub|
00000c30  74 72 61 63 74 20 6f 6e  65 20 72 65 73 75 6c 74  |tract one result|
00000c40  20 66 72 6f 6d 20 74 68  65 20 6f 74 68 65 72 2e  | from the other.|
00000c50  20 43 61 6c 63 75 6c 61  74 69 6f 6e 73 20 74 68  | Calculations th|
00000c60  61 74 0d 70 72 6f 64 75  63 65 20 72 65 73 75 6c  |at.produce resul|
00000c70  74 73 20 63 6c 6f 73 65  73 74 20 74 6f 20 7a 65  |ts closest to ze|
00000c80  72 6f 20 61 72 65 20 63  6f 6e 73 69 64 65 72 65  |ro are considere|
00000c90  64 20 6d 6f 72 65 20 6c  69 6b 65 6c 79 20 74 6f  |d more likely to|
00000ca0  20 62 65 20 64 72 61 77  6e 0d 67 61 6d 65 73 20  | be drawn.games |
00000cb0  74 68 61 6e 20 74 68 6f  73 65 20 70 72 6f 64 75  |than those produ|
00000cc0  63 69 6e 67 20 68 69 67  68 20 76 61 6c 75 65 73  |cing high values|
00000cd0  2e 20 53 6f 20 74 77 6f  20 74 65 61 6d 73 20 70  |. So two teams p|
00000ce0  72 6f 64 75 63 69 6e 67  20 61 20 73 69 6d 69 6c  |roducing a simil|
00000cf0  61 72 0d 6e 75 6d 62 65  72 20 77 69 6c 6c 20 62  |ar.number will b|
00000d00  65 20 6d 6f 72 65 20 6c  69 6b 65 6c 79 20 74 6f  |e more likely to|
00000d10  20 72 65 73 75 6c 74 20  69 6e 20 61 20 64 72 61  | result in a dra|
00000d20  77 20 74 68 61 6e 20 74  77 6f 20 74 65 61 6d 73  |w than two teams|
00000d30  20 70 72 6f 64 75 63 69  6e 67 0d 76 65 72 79 20  | producing.very |
00000d40  64 69 66 66 65 72 65 6e  74 20 76 61 6c 75 65 73  |different values|
00000d50  2e 20 54 68 65 20 66 6f  72 6d 75 6c 61 20 69 6e  |. The formula in|
00000d60  63 6c 75 64 65 64 20 69  6e 20 74 68 65 20 70 72  |cluded in the pr|
00000d70  6f 67 72 61 6d 20 69 73  20 76 65 72 79 20 73 69  |ogram is very si|
00000d80  6d 70 6c 65 2c 0d 61 6e  64 20 6f 6e 6c 79 20 63  |mple,.and only c|
00000d90  6f 6d 70 61 72 65 73 20  74 68 65 20 74 77 6f 20  |ompares the two |
00000da0  74 65 61 6d 73 20 6c 65  61 67 75 65 20 70 6f 73  |teams league pos|
00000db0  69 74 69 6f 6e 73 2e 20  54 6f 20 67 69 76 65 20  |itions. To give |
00000dc0  73 6f 6d 65 20 69 64 65  61 20 6f 66 20 68 6f 77  |some idea of how|
00000dd0  0d 74 6f 20 65 6e 74 65  72 20 61 20 73 75 69 74  |.to enter a suit|
00000de0  61 62 6c 65 20 66 6f 72  6d 75 6c 61 2c 20 73 6f  |able formula, so|
00000df0  6d 65 20 65 78 61 6d 70  6c 65 73 20 6f 66 20 63  |me examples of c|
00000e00  61 6c 63 75 6c 61 74 69  6e 67 20 74 65 61 6d 20  |alculating team |
00000e10  73 74 72 65 6e 67 74 68  0d 66 6f 6c 6c 6f 77 3a  |strength.follow:|
00000e20  0d 0d 20 3d 28 50 54 28  6d 29 2b 28 44 28 6d 29  |.. =(PT(m)+(D(m)|
00000e30  2a 33 29 2d 57 28 6d 29  29 2d 28 50 54 28 6e 29  |*3)-W(m))-(PT(n)|
00000e40  2b 28 44 28 6e 29 2a 33  29 2d 57 28 6e 29 29 0d  |+(D(n)*3)-W(n)).|
00000e50  0d 54 68 69 73 20 75 73  65 73 20 70 6f 69 6e 74  |.This uses point|
00000e60  73 20 67 61 69 6e 65 64  2c 20 64 72 61 77 6e 20  |s gained, drawn |
00000e70  67 61 6d 65 73 20 61 6e  64 20 67 61 6d 65 73 20  |games and games |
00000e80  77 6f 6e 20 66 6f 72 20  65 61 63 68 20 74 65 61  |won for each tea|
00000e90  6d 0d 0d 20 3d 28 50 28  6d 29 2f 44 28 6d 29 29  |m.. =(P(m)/D(m))|
00000ea0  2d 28 50 28 6e 29 2f 44  28 6e 29 29 0d 0d 63 61  |-(P(n)/D(n))..ca|
00000eb0  6c 63 75 6c 61 74 65 73  20 74 68 65 20 6e 75 6d  |lculates the num|
00000ec0  62 65 72 20 6f 66 20 6d  61 74 63 68 65 73 20 70  |ber of matches p|
00000ed0  6c 61 79 65 64 2c 20 64  69 76 69 64 65 64 20 62  |layed, divided b|
00000ee0  79 20 74 68 65 20 6e 75  6d 62 65 72 20 6f 66 20  |y the number of |
00000ef0  6d 61 74 63 68 65 73 0d  64 72 61 77 6e 20 66 6f  |matches.drawn fo|
00000f00  72 20 65 61 63 68 20 74  65 61 6d 0d 0d 20 3d 50  |r each team.. =P|
00000f10  54 28 6d 29 2d 50 54 28  6e 29 0d 0d 63 61 6c 63  |T(m)-PT(n)..calc|
00000f20  75 6c 61 74 65 73 20 74  68 65 20 6e 75 6d 62 65  |ulates the numbe|
00000f30  72 20 6f 66 20 70 6f 69  6e 74 73 20 67 61 69 6e  |r of points gain|
00000f40  65 64 20 66 6f 72 20 65  61 63 68 20 74 65 61 6d  |ed for each team|
00000f50  0d 0d 20 3d 28 50 28 6d  29 2f 4c 28 6d 29 29 2d  |.. =(P(m)/L(m))-|
00000f60  28 50 28 6e 29 2f 57 28  6e 29 29 0d 0d 73 74 75  |(P(n)/W(n))..stu|
00000f70  64 69 65 73 20 74 68 65  20 6e 75 6d 62 65 72 20  |dies the number |
00000f80  6f 66 20 67 61 6d 65 73  20 6c 6f 73 74 20 62 79  |of games lost by|
00000f90  20 74 68 65 20 68 6f 6d  65 20 74 65 61 6d 2c 20  | the home team, |
00000fa0  61 6e 64 20 74 68 65 20  6e 75 6d 62 65 72 20 6f  |and the number o|
00000fb0  66 20 67 61 6d 65 73 0d  77 6f 6e 20 62 79 20 61  |f games.won by a|
00000fc0  77 61 79 20 74 65 61 6d  20 28 61 20 70 65 72 66  |way team (a perf|
00000fd0  65 63 74 6c 79 20 22 6c  65 67 61 6c 22 20 69 66  |ectly "legal" if|
00000fe0  20 6e 6f 74 20 76 65 72  79 20 6c 6f 67 69 63 61  | not very logica|
00000ff0  6c 20 66 6f 72 6d 75 6c  61 21 29 0d 0d 54 68 65  |l formula!)..The|
00001000  73 65 20 66 6f 72 6d 75  6c 61 65 20 63 61 6e 20  |se formulae can |
00001010  62 65 20 76 65 72 79 20  73 69 6d 70 6c 65 20 73  |be very simple s|
00001020  75 63 68 20 61 73 3a 0d  0d 20 3d 44 28 6d 29 2d  |uch as:.. =D(m)-|
00001030  44 28 6e 29 0d 0d 77 68  69 63 68 20 63 6f 6d 70  |D(n)..which comp|
00001040  61 72 65 73 20 74 68 65  20 6e 75 6d 62 65 72 20  |ares the number |
00001050  6f 66 20 64 72 61 77 6e  20 6d 61 74 63 68 65 73  |of drawn matches|
00001060  20 6f 66 20 65 61 63 68  20 74 65 61 6d 2c 20 6f  | of each team, o|
00001070  72 20 6d 6f 72 65 20 63  6f 6d 70 6c 65 78 2c 0d  |r more complex,.|
00001080  73 75 63 68 20 61 73 3a  0d 0d 20 3d 28 28 4c 28  |such as:.. =((L(|
00001090  6d 29 2b 28 50 28 6d 29  2a 32 30 29 29 2a 44 28  |m)+(P(m)*20))*D(|
000010a0  6d 29 29 2d 28 28 57 28  6e 29 2b 28 50 28 6e 29  |m))-((W(n)+(P(n)|
000010b0  2a 32 30 29 29 2a 44 28  6e 29 29 0d 0d 77 68 69  |*20))*D(n))..whi|
000010c0  63 68 20 63 6f 6e 73 69  64 65 72 73 20 6d 61 74  |ch considers mat|
000010d0  63 68 65 73 20 64 72 61  77 6e 2c 20 6c 6f 73 74  |ches drawn, lost|
000010e0  2c 20 77 6f 6e 2c 20 65  74 63 2e 20 41 20 77 69  |, won, etc. A wi|
000010f0  6e 6e 69 6e 67 20 73 6f  6c 75 74 69 6f 6e 20 69  |nning solution i|
00001100  73 0d 6c 69 6b 65 6c 79  20 74 6f 20 62 65 20 65  |s.likely to be e|
00001110  76 65 6e 20 6d 6f 72 65  20 69 6e 76 6f 6c 76 65  |ven more involve|
00001120  64 21 20 49 74 20 73 68  6f 75 6c 64 20 62 65 20  |d! It should be |
00001130  72 65 6d 65 6d 62 65 72  65 64 20 74 68 61 74 2c  |remembered that,|
00001140  0d 70 61 72 74 69 63 75  6c 61 72 6c 79 20 65 61  |.particularly ea|
00001150  72 6c 79 20 69 6e 20 74  68 65 20 73 65 61 73 6f  |rly in the seaso|
00001160  6e 2c 20 73 65 76 65 72  61 6c 20 6f 66 20 74 68  |n, several of th|
00001170  65 73 65 20 76 61 6c 75  65 73 20 77 69 6c 6c 20  |ese values will |
00001180  62 65 20 65 71 75 61 6c  20 74 6f 0d 7a 65 72 6f  |be equal to.zero|
00001190  2c 20 61 6e 64 20 61 6e  20 65 72 72 6f 72 20 77  |, and an error w|
000011a0  69 6c 6c 20 72 65 73 75  6c 74 20 69 66 20 79 6f  |ill result if yo|
000011b0  75 72 20 66 6f 72 6d 75  6c 61 20 69 6e 63 6c 75  |ur formula inclu|
000011c0  64 65 73 20 61 20 27 64  69 76 69 73 69 6f 6e 0d  |des a 'division.|
000011d0  62 79 20 7a 65 72 6f 27  21 0d 0d 59 6f 75 72 20  |by zero'!..Your |
000011e0  64 65 73 69 72 65 64 20  66 6f 72 6d 75 6c 61 20  |desired formula |
000011f0  73 68 6f 75 6c 64 20 72  65 70 6c 61 63 65 20 74  |should replace t|
00001200  68 65 20 6f 6e 65 20 67  69 76 65 6e 20 69 6e 20  |he one given in |
00001210  6c 69 6e 65 20 35 30 30  30 20 6f 66 20 74 68 65  |line 5000 of the|
00001220  0d 70 72 6f 67 72 61 6d  2c 20 74 68 65 6e 20 74  |.program, then t|
00001230  68 65 20 6e 65 77 20 76  65 72 73 69 6f 6e 20 73  |he new version s|
00001240  61 76 65 64 20 74 6f 20  64 69 73 63 20 62 65 66  |aved to disc bef|
00001250  6f 72 65 20 75 73 65 2e  0d 0d 57 68 65 6e 20 74  |ore use...When t|
00001260  68 65 20 70 72 6f 67 72  61 6d 20 69 73 20 72 75  |he program is ru|
00001270  6e 2c 20 79 6f 75 20 61  72 65 20 61 73 6b 65 64  |n, you are asked|
00001280  20 69 66 20 74 68 65 20  6d 61 74 63 68 20 64 61  | if the match da|
00001290  74 61 20 69 73 20 74 6f  20 62 65 20 72 65 61 64  |ta is to be read|
000012a0  0d 66 72 6f 6d 20 64 69  73 63 2e 20 54 68 69 73  |.from disc. This|
000012b0  20 69 73 20 6f 6e 6c 79  20 70 6f 73 73 69 62 6c  | is only possibl|
000012c0  65 20 69 66 20 69 74 20  68 61 73 20 70 72 65 76  |e if it has prev|
000012d0  69 6f 75 73 6c 79 20 62  65 65 6e 20 73 61 76 65  |iously been save|
000012e0  64 20 74 6f 20 64 69 73  63 0d 75 73 69 6e 67 20  |d to disc.using |
000012f0  74 68 65 20 70 72 6f 67  72 61 6d 20 22 4d 61 74  |the program "Mat|
00001300  63 68 22 20 28 73 65 65  20 61 62 6f 76 65 29 2c  |ch" (see above),|
00001310  20 62 75 74 20 77 69 6c  6c 20 73 61 76 65 20 61  | but will save a|
00001320  20 6c 6f 74 20 6f 66 20  74 69 6d 65 20 69 66 20  | lot of time if |
00001330  69 74 20 0d 63 61 6e 20  62 65 20 72 65 61 64 20  |it .can be read |
00001340  66 72 6f 6d 20 61 20 64  69 73 63 20 66 69 6c 65  |from a disc file|
00001350  2e 20 49 66 20 74 68 65  20 61 70 70 72 6f 70 72  |. If the appropr|
00001360  69 61 74 65 20 64 61 74  61 20 66 69 6c 65 20 69  |iate data file i|
00001370  73 20 6e 6f 74 20 66 6f  75 6e 64 20 6f 6e 0d 79  |s not found on.y|
00001380  6f 75 72 20 64 69 73 63  2c 20 74 68 65 20 71 75  |our disc, the qu|
00001390  65 73 74 69 6f 6e 20 77  69 6c 6c 20 6e 6f 74 20  |estion will not |
000013a0  62 65 20 61 73 6b 65 64  2e 0d 0d 59 6f 75 20 61  |be asked...You a|
000013b0  72 65 20 74 68 65 6e 20  61 73 6b 65 64 20 69 66  |re then asked if|
000013c0  20 74 68 65 20 6c 65 61  67 75 65 20 64 65 74 61  | the league deta|
000013d0  69 6c 73 20 61 72 65 20  74 6f 20 62 65 20 72 65  |ils are to be re|
000013e0  61 64 20 66 72 6f 6d 20  64 69 73 63 2e 20 41 67  |ad from disc. Ag|
000013f0  61 69 6e 2c 0d 74 68 69  73 20 6d 61 79 20 6f 6e  |ain,.this may on|
00001400  6c 79 20 62 65 20 64 6f  6e 65 20 69 66 20 74 68  |ly be done if th|
00001410  69 73 20 64 61 74 61 20  68 61 73 20 61 6c 72 65  |is data has alre|
00001420  61 64 79 20 62 65 65 6e  20 73 61 76 65 64 20 74  |ady been saved t|
00001430  6f 20 64 69 73 63 20 66  72 6f 6d 20 61 0d 70 72  |o disc from a.pr|
00001440  65 76 69 6f 75 73 20 72  75 6e 20 6f 66 20 74 68  |evious run of th|
00001450  65 20 22 46 6f 6f 74 22  20 70 72 6f 67 72 61 6d  |e "Foot" program|
00001460  2e 20 28 54 68 65 20 64  61 74 61 20 69 73 20 61  |. (The data is a|
00001470  75 74 6f 6d 61 74 69 63  61 6c 6c 79 20 73 61 76  |utomatically sav|
00001480  65 64 20 74 6f 0d 64 69  73 63 20 65 61 63 68 20  |ed to.disc each |
00001490  74 69 6d 65 20 22 46 6f  6f 74 22 20 69 73 20 72  |time "Foot" is r|
000014a0  75 6e 2e 29 20 54 68 65  20 71 75 65 73 74 69 6f  |un.) The questio|
000014b0  6e 20 69 73 20 6e 6f 74  20 72 61 69 73 65 64 20  |n is not raised |
000014c0  69 66 20 74 68 65 20 6c  65 61 67 75 65 0d 69 6e  |if the league.in|
000014d0  66 6f 72 6d 61 74 69 6f  6e 20 69 73 20 6e 6f 74  |formation is not|
000014e0  20 61 76 61 69 6c 61 62  6c 65 20 66 72 6f 6d 20  | available from |
000014f0  64 69 73 63 2e 0d 0d 49  66 20 74 68 65 20 6c 65  |disc...If the le|
00001500  61 67 75 65 20 64 61 74  61 20 68 61 73 20 62 65  |ague data has be|
00001510  65 6e 20 74 61 6b 65 6e  20 66 72 6f 6d 20 43 45  |en taken from CE|
00001520  45 46 41 58 2c 20 79 6f  75 20 77 69 6c 6c 20 74  |EFAX, you will t|
00001530  68 65 6e 20 62 65 20 6f  66 66 65 72 65 64 20 61  |hen be offered a|
00001540  0d 63 68 61 6e 63 65 20  74 6f 20 73 65 65 20 28  |.chance to see (|
00001550  6f 72 20 70 72 69 6e 74  20 6f 75 74 29 20 61 20  |or print out) a |
00001560  6c 69 73 74 20 6f 66 20  74 68 65 20 74 65 61 6d  |list of the team|
00001570  20 6e 61 6d 65 73 20 61  6e 64 20 74 68 65 69 72  | names and their|
00001580  0d 63 6f 72 72 65 73 70  6f 6e 64 69 6e 67 20 6e  |.corresponding n|
00001590  75 6d 62 65 72 73 2e 20  54 68 69 73 20 6f 70 74  |umbers. This opt|
000015a0  69 6f 6e 20 69 73 20 6e  6f 74 20 61 76 61 69 6c  |ion is not avail|
000015b0  61 62 6c 65 20 69 66 20  74 68 65 20 64 61 74 61  |able if the data|
000015c0  20 69 73 20 72 65 61 64  0d 66 72 6f 6d 20 64 69  | is read.from di|
000015d0  73 63 2c 20 61 73 20 74  68 65 20 70 72 6f 67 72  |sc, as the progr|
000015e0  61 6d 20 74 68 65 6e 20  72 65 6c 69 65 73 20 6f  |am then relies o|
000015f0  6e 20 61 20 63 6f 6d 70  72 65 73 73 65 64 20 76  |n a compressed v|
00001600  65 72 73 69 6f 6e 20 6f  66 20 74 68 65 20 74 65  |ersion of the te|
00001610  61 6d 0d 6e 61 6d 65 73  20 77 68 69 63 68 20 6d  |am.names which m|
00001620  61 79 20 6e 6f 74 20 62  65 20 76 65 72 79 20 6d  |ay not be very m|
00001630  75 63 68 20 68 65 6c 70  20 74 6f 20 79 6f 75 21  |uch help to you!|
00001640  20 54 68 65 20 74 65 61  6d 20 6e 61 6d 65 73 20  | The team names |
00001650  61 6e 64 20 6e 75 6d 62  65 72 73 0d 77 69 6c 6c  |and numbers.will|
00001660  20 62 65 20 6e 65 65 64  65 64 20 6c 61 74 65 72  | be needed later|
00001670  20 69 66 20 79 6f 75 20  68 61 76 65 20 6f 70 74  | if you have opt|
00001680  65 64 20 74 6f 20 6d 61  6e 75 61 6c 6c 79 20 65  |ed to manually e|
00001690  6e 74 65 72 20 74 68 65  20 66 69 78 74 75 72 65  |nter the fixture|
000016a0  73 0d 6c 69 73 74 2e 20  49 66 20 61 20 70 72 69  |s.list. If a pri|
000016b0  6e 74 6f 75 74 20 6f 66  20 74 68 69 73 20 6c 69  |ntout of this li|
000016c0  73 74 20 69 73 20 72 65  71 75 69 72 65 64 2c 20  |st is required, |
000016d0  73 69 6d 70 6c 79 20 73  65 74 20 79 6f 75 72 20  |simply set your |
000016e0  70 72 69 6e 74 65 72 20  22 6f 6e 0d 6c 69 6e 65  |printer "on.line|
000016f0  22 20 62 65 66 6f 72 65  20 73 65 6c 65 63 74 69  |" before selecti|
00001700  6e 67 20 74 68 69 73 20  6f 70 74 69 6f 6e 2e 0d  |ng this option..|
00001710  0d 54 68 65 20 70 72 6f  67 72 61 6d 20 70 72 6f  |.The program pro|
00001720  63 65 65 64 73 20 74 6f  20 72 65 71 75 65 73 74  |ceeds to request|
00001730  20 74 68 65 20 6d 61 74  63 68 20 64 61 74 61 20  | the match data |
00001740  69 6e 20 6e 75 6d 65 72  69 63 20 66 6f 72 6d 2e  |in numeric form.|
00001750  20 49 66 20 74 68 65 0d  64 61 74 61 20 69 73 20  | If the.data is |
00001760  72 65 61 64 20 66 72 6f  6d 20 64 69 73 63 2c 20  |read from disc, |
00001770  74 68 65 20 66 69 78 74  75 72 65 73 20 6c 69 73  |the fixtures lis|
00001780  74 20 77 69 6c 6c 20 62  65 20 72 65 61 64 20 69  |t will be read i|
00001790  6e 2c 20 73 74 6f 70 70  69 6e 67 20 61 74 20 74  |n, stopping at t|
000017a0  68 65 0d 62 6f 74 74 6f  6d 20 6f 66 20 65 61 63  |he.bottom of eac|
000017b0  68 20 73 63 72 65 65 6e  20 74 6f 20 61 6c 6c 6f  |h screen to allo|
000017c0  77 20 79 6f 75 20 74 6f  20 6c 6f 6f 6b 20 66 6f  |w you to look fo|
000017d0  72 20 61 6e 79 20 6e 65  63 65 73 73 61 72 79 20  |r any necessary |
000017e0  63 6f 72 72 65 63 74 69  6f 6e 73 2e 0d 50 72 65  |corrections..Pre|
000017f0  73 73 20 53 48 49 46 54  20 74 6f 20 73 63 72 6f  |ss SHIFT to scro|
00001800  6c 6c 20 74 68 65 20 73  63 72 65 65 6e 2e 20 49  |ll the screen. I|
00001810  66 20 74 68 69 73 20 64  61 74 61 20 6e 65 65 64  |f this data need|
00001820  73 20 74 6f 20 62 65 20  65 6e 74 65 72 65 64 0d  |s to be entered.|
00001830  6d 61 6e 75 61 6c 6c 79  2c 20 74 79 70 65 20 69  |manually, type i|
00001840  6e 20 74 68 65 20 61 70  70 72 6f 70 72 69 61 74  |n the appropriat|
00001850  65 20 74 65 61 6d 20 6e  75 6d 62 65 72 20 61 74  |e team number at|
00001860  20 74 68 65 20 70 72 6f  6d 70 74 2c 20 61 73 20  | the prompt, as |
00001870  74 61 6b 65 6e 20 66 72  6f 6d 0d 74 68 65 20 74  |taken from.the t|
00001880  65 61 6d 20 6c 69 73 74  20 6f 66 66 65 72 65 64  |eam list offered|
00001890  20 65 61 72 6c 69 65 72  2e 20 41 6e 79 20 63 6f  | earlier. Any co|
000018a0  72 72 65 63 74 69 6f 6e  73 20 63 61 6e 20 62 65  |rrections can be|
000018b0  20 6d 61 64 65 20 61 66  74 65 72 20 61 6c 6c 20  | made after all |
000018c0  74 68 65 0d 6d 61 74 63  68 20 64 61 74 61 20 68  |the.match data h|
000018d0  61 73 20 62 65 65 6e 20  65 6e 74 65 72 65 64 2e  |as been entered.|
000018e0  0d 0d 54 68 65 20 70 72  6f 67 72 61 6d 20 77 69  |..The program wi|
000018f0  6c 6c 20 74 68 65 6e 20  63 61 6c 63 75 6c 61 74  |ll then calculat|
00001900  65 20 74 68 65 20 6d 6f  73 74 20 6c 69 6b 65 6c  |e the most likel|
00001910  79 20 31 38 20 6d 61 74  63 68 65 73 20 74 6f 20  |y 18 matches to |
00001920  72 65 73 75 6c 74 20 69  6e 20 61 0d 64 72 61 77  |result in a.draw|
00001930  2e 20 49 66 20 79 6f 75  20 77 61 6e 74 20 74 68  |. If you want th|
00001940  69 73 20 73 65 6c 65 63  74 69 6f 6e 20 73 65 6e  |is selection sen|
00001950  74 20 74 6f 20 79 6f 75  72 20 70 72 69 6e 74 65  |t to your printe|
00001960  72 2c 20 65 6e 73 75 72  65 20 74 68 61 74 20 79  |r, ensure that y|
00001970  6f 75 72 0d 70 72 69 6e  74 65 72 20 69 73 20 22  |our.printer is "|
00001980  6f 6e 20 6c 69 6e 65 22  2e 20 4f 74 68 65 72 77  |on line". Otherw|
00001990  69 73 65 20 69 74 20 77  69 6c 6c 20 62 65 20 73  |ise it will be s|
000019a0  65 6e 74 20 74 6f 20 74  68 65 20 73 63 72 65 65  |ent to the scree|
000019b0  6e 20 6f 6e 6c 79 2e 0d  0d 33 2e 20 52 65 73 75  |n only...3. Resu|
000019c0  6c 74 73 3a 0d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |lts:.===========|
000019d0  0d 0d 44 75 72 69 6e 67  20 74 68 65 20 65 78 65  |..During the exe|
000019e0  63 75 74 69 6f 6e 20 6f  66 20 22 46 6f 6f 74 22  |cution of "Foot"|
000019f0  2c 20 61 20 64 61 74 61  20 66 69 6c 65 20 69 73  |, a data file is|
00001a00  20 63 72 65 61 74 65 64  20 6f 6e 20 64 69 73 63  | created on disc|
00001a10  20 6f 66 20 74 68 65 0d  6d 61 74 63 68 65 73 20  | of the.matches |
00001a20  70 72 65 64 69 63 74 65  64 2e 20 22 52 65 73 75  |predicted. "Resu|
00001a30  6c 74 73 22 20 77 69 6c  6c 20 61 6e 61 6c 79 73  |lts" will analys|
00001a40  65 20 74 68 65 20 61 63  74 75 61 6c 20 72 65 73  |e the actual res|
00001a50  75 6c 74 73 20 61 73 0d  74 72 61 6e 73 6d 69 74  |ults as.transmit|
00001a60  74 65 64 20 62 79 20 43  45 45 46 41 58 2c 20 61  |ted by CEEFAX, a|
00001a70  6e 64 20 63 61 6c 63 75  6c 61 74 65 20 74 68 65  |nd calculate the|
00001a80  20 6d 61 78 69 6d 75 6d  20 70 6f 6f 6c 73 20 70  | maximum pools p|
00001a90  6f 69 6e 74 73 20 74 68  61 74 20 68 61 76 65 0d  |oints that have.|
00001aa0  62 65 65 6e 20 67 61 69  6e 65 64 20 75 73 69 6e  |been gained usin|
00001ab0  67 20 74 68 65 20 67 69  76 65 6e 20 66 6f 72 65  |g the given fore|
00001ac0  63 61 73 74 2e 0d 0d 49  66 20 79 6f 75 20 75 73  |cast...If you us|
00001ad0  65 20 61 20 70 6f 6f 6c  73 20 65 6e 74 72 79 20  |e a pools entry |
00001ae0  77 69 74 68 20 6d 6f 72  65 20 28 6f 72 20 6c 65  |with more (or le|
00001af0  73 73 29 20 74 68 61 6e  20 74 65 6e 20 73 65 6c  |ss) than ten sel|
00001b00  65 63 74 69 6f 6e 73 2c  20 74 68 65 0d 61 70 70  |ections, the.app|
00001b10  72 6f 70 72 69 61 74 65  20 6c 69 6e 65 20 61 74  |ropriate line at|
00001b20  20 74 68 65 20 62 65 67  69 6e 6e 69 6e 67 20 6f  | the beginning o|
00001b30  66 20 74 68 65 20 70 72  6f 67 72 61 6d 20 6d 75  |f the program mu|
00001b40  73 74 20 62 65 20 61 6c  74 65 72 65 64 2e 20 54  |st be altered. T|
00001b50  68 65 0d 70 72 6f 67 72  61 6d 20 63 61 6c 63 75  |he.program calcu|
00001b60  6c 61 74 65 73 20 74 68  65 20 6d 61 78 69 6d 75  |lates the maximu|
00001b70  6d 20 70 6f 69 6e 74 73  20 70 6f 73 73 69 62 6c  |m points possibl|
00001b80  65 20 75 73 69 6e 67 20  61 20 46 75 6c 6c 20 50  |e using a Full P|
00001b90  65 72 6d 20 70 6c 61 6e  2c 0d 62 75 74 20 61 6c  |erm plan,.but al|
00001ba0  73 6f 20 70 72 65 73 65  6e 74 73 20 74 68 65 20  |so presents the |
00001bb0  72 65 73 75 6c 74 73 20  69 6e 20 70 6f 6f 6c 73  |results in pools|
00001bc0  20 70 6f 69 6e 74 73 20  66 6f 72 6d 61 74 20 66  | points format f|
00001bd0  6f 72 20 6e 6f 72 6d 61  6c 20 63 68 65 63 6b 69  |or normal checki|
00001be0  6e 67 0d 6f 66 20 61 20  63 6f 75 70 6f 6e 2e 0d  |ng.of a coupon..|
00001bf0  0d 54 68 65 20 72 65 73  75 6c 74 73 20 61 72 65  |.The results are|
00001c00  20 62 72 6f 61 64 63 61  73 74 20 6f 6e 20 42 42  | broadcast on BB|
00001c10  43 31 20 6f 6e 20 61 20  53 61 74 75 72 64 61 79  |C1 on a Saturday|
00001c20  20 61 66 74 65 72 6e 6f  6f 6e 2f 65 76 65 6e 69  | afternoon/eveni|
00001c30  6e 67 2c 20 61 6e 64 0d  74 68 65 6e 20 61 72 65  |ng, and.then are|
00001c40  20 74 72 61 6e 73 66 65  72 72 65 64 20 74 6f 20  | transferred to |
00001c50  42 42 43 32 20 66 6f 72  20 74 68 65 20 65 61 72  |BBC2 for the ear|
00001c60  6c 79 20 70 61 72 74 20  6f 66 20 74 68 65 20 66  |ly part of the f|
00001c70  6f 6c 6c 6f 77 69 6e 67  20 77 65 65 6b 2e 0d 54  |ollowing week..T|
00001c80  68 65 20 70 72 6f 67 72  61 6d 20 64 65 74 65 63  |he program detec|
00001c90  74 73 20 74 68 65 20 64  61 79 20 6f 6e 20 77 68  |ts the day on wh|
00001ca0  69 63 68 20 69 74 20 69  73 20 72 75 6e 2c 20 61  |ich it is run, a|
00001cb0  6e 64 20 77 69 6c 6c 20  73 65 6c 65 63 74 20 74  |nd will select t|
00001cc0  68 65 0d 63 6f 72 72 65  63 74 20 63 68 61 6e 6e  |he.correct chann|
00001cd0  65 6c 20 61 6e 64 20 70  61 67 65 20 6e 75 6d 62  |el and page numb|
00001ce0  65 72 73 20 61 75 74 6f  6d 61 74 69 63 61 6c 6c  |ers automaticall|
00001cf0  79 2e 20 28 69 2e 65 2e  20 69 66 20 72 75 6e 20  |y. (i.e. if run |
00001d00  6f 6e 20 53 61 74 75 72  64 61 79 2c 0d 69 74 20  |on Saturday,.it |
00001d10  77 69 6c 6c 20 73 65 6c  65 63 74 20 42 42 43 31  |will select BBC1|
00001d20  2c 20 70 61 67 65 73 20  33 33 31 20 6f 6e 77 61  |, pages 331 onwa|
00001d30  72 64 73 2c 20 62 75 74  20 69 66 20 72 75 6e 20  |rds, but if run |
00001d40  6f 6e 2c 20 73 61 79 2c  20 4d 6f 6e 64 61 79 2c  |on, say, Monday,|
00001d50  20 69 74 0d 77 69 6c 6c  20 73 65 6c 65 63 74 20  | it.will select |
00001d60  42 42 43 32 2c 20 70 61  67 65 20 33 34 31 2e 29  |BBC2, page 341.)|
00001d70  20 41 20 63 68 65 63 6b  20 69 73 20 63 61 72 72  | A check is carr|
00001d80  69 65 64 20 6f 75 74 20  74 6f 20 65 6e 73 75 72  |ied out to ensur|
00001d90  65 20 74 68 65 20 61 63  74 75 61 6c 0d 72 65 73  |e the actual.res|
00001da0  75 6c 74 73 20 61 72 65  20 6f 62 74 61 69 6e 65  |ults are obtaine|
00001db0  64 2c 20 61 6e 64 20 6e  6f 74 20 74 68 65 20 68  |d, and not the h|
00001dc0  61 6c 66 2d 74 69 6d 65  20 72 65 73 75 6c 74 73  |alf-time results|
00001dd0  20 6f 72 20 6f 74 68 65  72 20 64 61 74 61 2e 20  | or other data. |
00001de0  41 0d 72 65 70 6f 72 74  20 77 69 6c 6c 20 62 65  |A.report will be|
00001df0  20 67 69 76 65 6e 2c 20  61 6e 64 20 74 68 65 20  | given, and the |
00001e00  70 72 6f 67 72 61 6d 20  74 65 72 6d 69 6e 61 74  |program terminat|
00001e10  65 64 20 69 66 20 74 68  65 20 72 65 73 75 6c 74  |ed if the result|
00001e20  73 20 61 72 65 20 6e 6f  74 0d 66 6f 75 6e 64 2e  |s are not.found.|
00001e30  0d 0d 49 66 20 61 20 6d  61 74 63 68 20 69 73 20  |..If a match is |
00001e40  64 65 63 6c 61 72 65 64  20 76 6f 69 64 2c 20 6f  |declared void, o|
00001e50  72 20 61 20 72 65 73 75  6c 74 20 64 65 63 69 64  |r a result decid|
00001e60  65 64 20 62 79 20 74 68  65 20 50 6f 6f 6c 73 20  |ed by the Pools |
00001e70  70 61 6e 65 6c 2c 20 74  68 65 0d 63 6f 72 72 65  |panel, the.corre|
00001e80  63 74 20 70 6f 6f 6c 73  20 70 6f 69 6e 74 73 20  |ct pools points |
00001e90  77 69 6c 6c 20 62 65 20  66 6f 75 6e 64 2e 20 53  |will be found. S|
00001ea0  75 63 68 20 73 69 74 75  61 74 69 6f 6e 73 20 77  |uch situations w|
00001eb0  69 6c 6c 20 62 65 20 72  65 70 6f 72 74 65 64 20  |ill be reported |
00001ec0  77 68 65 6e 0d 74 68 65  20 72 65 73 75 6c 74 73  |when.the results|
00001ed0  20 61 72 65 20 6c 69 73  74 65 64 20 62 79 20 74  | are listed by t|
00001ee0  68 65 20 70 72 6f 67 72  61 6d 2e 0d 0d 54 68 69  |he program...Thi|
00001ef0  73 20 70 72 6f 67 72 61  6d 20 75 73 65 73 20 73  |s program uses s|
00001f00  65 76 65 72 61 6c 20 6f  66 20 74 68 65 20 73 79  |everal of the sy|
00001f10  73 74 65 6d 27 73 20 70  61 67 65 20 67 72 61 62  |stem's page grab|
00001f20  62 65 72 73 2c 20 72 65  73 75 6c 74 69 6e 67 20  |bers, resulting |
00001f30  69 6e 20 61 0d 6d 75 63  68 20 66 61 73 74 65 72  |in a.much faster|
00001f40  20 65 78 65 63 75 74 69  6f 6e 20 74 69 6d 65 20  | execution time |
00001f50  74 68 61 6e 20 70 72 65  76 69 6f 75 73 20 76 65  |than previous ve|
00001f60  72 73 69 6f 6e 73 2e 20  57 68 69 6c 73 74 20 65  |rsions. Whilst e|
00001f70  61 63 68 20 70 61 67 65  20 66 72 6f 6d 0d 43 45  |ach page from.CE|
00001f80  45 46 41 58 20 69 73 20  62 65 69 6e 67 20 70 72  |EFAX is being pr|
00001f90  6f 63 65 73 73 65 64 2c  20 74 68 65 20 73 63 72  |ocessed, the scr|
00001fa0  65 65 6e 20 77 69 6c 6c  20 69 6e 64 69 63 61 74  |een will indicat|
00001fb0  65 20 62 72 69 65 66 6c  79 20 77 68 69 63 68 0d  |e briefly which.|
00001fc0  70 61 72 74 69 63 75 6c  61 72 20 70 6f 6f 6c 73  |particular pools|
00001fd0  20 63 6f 75 70 6f 6e 20  6d 61 74 63 68 20 6e 75  | coupon match nu|
00001fe0  6d 62 65 72 20 69 73 20  62 65 69 6e 67 20 73 74  |mber is being st|
00001ff0  75 64 69 65 64 20 61 74  20 74 68 65 20 74 69 6d  |udied at the tim|
00002000  65 2e 0d 0d 0d 20 20 20  20 20 20 20 20 20 20 20  |e....           |
00002010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00002020  20 20 20 20 20 20 20 20  20 20 28 63 29 20 4a 65  |          (c) Je|
00002030  72 65 6d 79 20 42 72 61  79 73 68 61 77 20 20 20  |remy Brayshaw   |
00002040  53 65 70 74 65 6d 62 65  72 20 31 39 38 37 0d 0d  |September 1987..|
00002050  0d 4e 6f 74 65 3a 20 54  68 65 20 70 72 6f 67 72  |.Note: The progr|
00002060  61 6d 73 20 68 61 76 65  20 62 65 65 6e 20 77 72  |ams have been wr|
00002070  69 74 74 65 6e 20 74 6f  20 6f 70 65 72 61 74 65  |itten to operate|
00002080  20 77 69 74 68 20 74 68  65 20 42 42 43 20 4d 69  | with the BBC Mi|
00002090  63 72 6f 63 6f 6d 70 75  74 65 72 0d 53 79 73 74  |crocomputer.Syst|
000020a0  65 6d 20 54 65 6c 65 74  65 78 74 20 41 64 61 70  |em Teletext Adap|
000020b0  74 65 72 20 28 74 68 65  20 41 63 6f 72 6e 20 73  |ter (the Acorn s|
000020c0  79 73 74 65 6d 29 20 61  6e 64 20 41 54 53 20 73  |ystem) and ATS s|
000020d0  6f 66 74 77 61 72 65 2e  20 54 68 65 79 20 61 72  |oftware. They ar|
000020e0  65 20 6e 6f 74 0d 67 75  61 72 61 6e 74 65 65 64  |e not.guaranteed|
000020f0  20 74 6f 20 66 75 6e 63  74 69 6f 6e 20 63 6f 72  | to function cor|
00002100  72 65 63 74 6c 79 20 6f  6e 20 6f 74 68 65 72 20  |rectly on other |
00002110  6d 61 6b 65 73 20 6f 66  20 61 64 61 70 74 65 72  |makes of adapter|
00002120  2c 20 6f 72 20 77 69 74  68 20 74 68 65 0d 41 63  |, or with the.Ac|
00002130  6f 72 6e 20 54 46 53 2e  20 54 68 69 73 20 69 73  |orn TFS. This is|
00002140  20 62 65 63 61 75 73 65  20 73 6f 6d 65 20 6f 74  | because some ot|
00002150  68 65 72 20 74 65 6c 65  74 65 78 74 20 61 64 61  |her teletext ada|
00002160  70 74 65 72 73 20 75 73  65 20 6c 65 73 73 20 76  |pters use less v|
00002170  65 72 73 61 74 69 6c 65  0d 74 65 6c 65 74 65 78  |ersatile.teletex|
00002180  74 20 72 65 63 65 70 74  69 6f 6e 20 63 68 69 70  |t reception chip|
00002190  73 2c 20 61 6e 64 20 69  74 20 69 73 20 6e 6f 74  |s, and it is not|
000021a0  20 70 6f 73 73 69 62 6c  65 20 74 6f 20 69 6d 70  | possible to imp|
000021b0  6c 65 6d 65 6e 74 20 6d  75 6c 74 69 70 6c 65 0d  |lement multiple.|
000021c0  73 69 6d 75 6c 74 61 6e  65 6f 75 73 20 70 61 67  |simultaneous pag|
000021d0  65 20 67 72 61 62 62 65  72 73 2e 20 53 79 73 74  |e grabbers. Syst|
000021e0  65 6d 73 20 77 69 74 68  6f 75 74 20 41 54 53 20  |ems without ATS |
000021f0  6d 61 79 20 6e 6f 74 20  75 73 65 20 74 68 65 20  |may not use the |
00002200  73 61 6d 65 0d 63 6f 6d  6d 61 6e 64 73 2c 20 6f  |same.commands, o|
00002210  72 20 69 6d 70 6c 65 6d  65 6e 74 20 74 68 65 6d  |r implement them|
00002220  20 69 6e 20 74 68 65 20  73 61 6d 65 20 77 61 79  | in the same way|
00002230  2e 0d                                             |..|
00002232
20_09_87/F\INFO.m0
20_09_87/F\INFO.m1
20_09_87/F\INFO.m2
20_09_87/F\INFO.m4
20_09_87/F\INFO.m5