DART LEAGUE PROGRAM
VERSION 1.00
INTRODUCTION
This program is a new version of League Table v2.0 which was
released into the public domain in late 1990. The original
program was written on a ZX Spectrum to help me keep track of my
son's football league. When we upgraded to an Atari 520 I ported
the program across into Fast Basic. This was the language used
for version 1.2. Essentially it was keyboard driven but used the
mouse to access the various functions. I felt that data entry
would be much faster using the mouse only, if the program was
properly designed (I know many people will disagree). This is the
major change in going to version 2.0. The program has actually
been re-written and is now in STOS Basic and has been compiled.
Compilation offers no real speed increase but I thought it would
be fun and I had bought the compiler! The source code is
available for œ5 plus disc from the address at the end of this
document.
This program was written to help with maintenance of
football league tables, but can be used for any sport which has a
league which operates on similar principles. It will cater for 25
teams in a league and during setting up it will prompt for the
number of points for a win, draw and lose.
This particular version of the program was specifically
written to help with a darts league, where the number of points
gained varied from match to match. It should be applicable to any
similar sport.
If you have a need which is not met by either of these two
programs (LEAGTABL.200 or DARTLEAG.100) please do not hesitate to
get in touch with me, any for a small fee I will modify the
program to suit your needs.
THE MENUS
File
Load Table - This produces the file selector to load a
previously saved league table. The table can then be
updated and saved.
Save Table - This allows a table in memory to be saved to
disk and uses a standard file selector dialogue box.
The program will automatically include a .LEA extension
to the file name.
Delete Table - This option produces a file selector which
is used to select the file to be deleted. Use with
care!
Rename Table - This also produced a file selector to choose
the file which is to be renamed. A second file selector
then appears to allow you to type in the new name for
the file. It is important to include the extension
(.LEA).
Create Folder - This option produces a file selector which
allows you to type in the name for a new folder.
Delete Folder - This again produces a file selector. You
should type in the name of the folder to be deleted.
Choosing it with the mouse doesn't work! The folder
should be empty before you try to delete it or an error
will be generated.
About League Table - This gives information on the version
number, useful if you have problems!
Quit - Returns to the desktop after displaying a little
message!
Edit
Input data - This is the normal way of updating the league
table. The program prompts for the results for each
team in turn. This is to ensure that none are missed
out! You must select an option from each line unless
NONE was selected on the first line. To select, simply
point with the mouse and click. If more than 11 points
were recorded click on VALUE and then enter the number
of points. When the data is correct click on DONE. If
there are no errors the next team will be displayed
until all have been dealt with. This method of data
entry requires all results to be entered twice and is
thus a way of checking the validity of the data being
entered. The program checks for consistency of the
data before it returns to the menu.
Amend data - This allows data which has been wrongly entered
to be corrected. To choose the team to be amended
simply click on the team name and then on the item to
be altered. Then enter the new value. Click on MENU or
EXIT to leave the display. The program will check for
errors before it exits the routine and will alert you
of the location of the errors.
Check data - This is a way of manually checking the data for
consistency. It checks that the number of wins is the
same as the number of loses, that the number of home
games is the same of the number of away games, etc. All
menu options which allow data entry exit via this
routine to ensure that the data is correct.
Sort data - This allows for the data to be ordered prior to
printing etc. This is normally done by the output
routine anyway and need not be done as an explicit
operation. The data is ordered first by the number of
points awarded, then by the number of games won.
Output
View table - This outputs the league table to the screen
after it has been sorted.
Print table - This outputs the league table to a printer.
You will be asked to specify the type of print out,
i.e. a full league table or abbreviated data, the print
quality, draft or nlq, the number of copies and a title
for the table when it is printed. Simply highlight the
options required and enter the title for the table when
prompted. You can print any number of copies should you
wish.
Print to Disk - This allows output of the league table to a
disk file for inclusion in other documents. The is a
selection for the end of line characters required by
the program you wish to import the data into. You can
choose between just CR, just LF or both. The current
setting is saved when you save the data file to disk as
a reminder of what you used last time.
Set-up
Set-up table - This is the menu option which allows the
league table to be set-up initially. It first asks for
the number of teams in the league. The maximum allowed
is 25. It then asks for the team names. These can be
amended later if they are wrongly entered. It finally
asks if you want the table to be cleared. I recommend
that you save this initial position.
Clear table - This option resets all the initial values to
zero and should be done prior to re-entering any data.
This option is automatically selected by the set-up
option.
Amend Teams - This option allows you to alter the names of
the teams in the league table. Simply click on the name
of the team you wish to alter and then type in the new
name. Click on EXIT to leave this option.
COPYRIGHT
This program is distributed as a shareware program and may
be used as you require. It may be freely copied providing all
the files in the folder are kept together. I would ask that if
you use this program to maintain league tables for an
organisation you send me a small donation, say œ10. In return I
will advise you of any updates. Any updates will maintain file
compatibility with this version so there will be no problems with
retention of data. If you have any comments, specific requests
for modifications, bug reports or donations please send them to
me at: