This program was written in Fortran 77 and was programmed to produce HTML files to display the Premier Table (or any other table with 20 teams in) and the top scores league for one team in that league (i.e. all the players who have scored for Everton).
The program needs five files to work. These are :
Tabinfo.d This files holds the table name and the team for the Top Scores League
Table.d Which hold the raw infomation for the League Table
Score.d Which holds the raw information for the Top Scorers Table
Table.htm Which holds the League table in HTML form.
Score.htm Which holds the Top Scorers Table in HTML Form
These should all be present in the file PREMTAB.ZIP which is as you can see a zip file.
If all these are not present in the directory which holds premtab.exe {the executable program} then the program will not work correctly. If one or more are missing use any text editor to make a file with the filename that is missing and in the editor make the file have 24 blank lines by pressing RETURN or ENTER 24 times. Once all these files are present the program can be run by typing in premtab.
Before going any further you must note that this program is case sensitive and only very basic verification processes are implemented. This means that you must double check all data entered before committing it by pressing ENTER.
Initialisation
The first option as to load the tables. This should always be selected first when entering the program. This loads all the tables and if one or more is missing then the program will crash out.
Alter Table Details and Choices
This option take you to a secondary menu :
Reset Tables
This option should be only used if you wish to clear both table of all their information (e.g. at the start of a new season).
Enter Table Name
This option is used to rename the League Table (e.g. "English Premier League" OR "Carling Premier League"). The maximum size of the table name is 25 characters including spaces.
Enter Teams Names
This is used to enter the league teams. The table holds 20 teams and each team name can be no more than 10 characters including spaces. If a team is entered with more that 10 characters the teams name will be truncated so for example "Southampton" will be truncated to "Southampto".
Search and Alter Team Information
This can be used if you incorrectly entered an incorrect score line. You first type in the teams name and if it is in the table you can alter the relevant columns. Once all alterations are complete press N followed by RETURN.
Enter Team Name for Top Scorers Table
This option is used for compiling the Top Scorers Table. You will be asked for the teams name. You must enter this exactly as it is in the League Table. This should not be changed once the season has started.
The next option in the main menu is "Sort Menu". This is another secondary menu and the options can be seen below :
Options A-I
These options sort the League Table on different critera. For the table sorted by points the teams are ordered by points first. If two or more teams have the same points then those are sorted by goal difference and if still there are some teams equal then those are sorted by goals scored if still the they are placed in alphabetical order.
Option J
This option displays the Top Scorers Table in order of who scored the most if players have scored the same then those players are sorted by who has scored the most league goals.
In the main menu the next option is "Update Table". This option is to enter all the scorelines from the league and also any other games in which your chosen team for the top scorers table play. For Example if the Team you choose was Everton then you use the update option to enter the score lines from Evertons League Cup, FA Cup European Cups and any other games you feel are relevant. The first option you are given is wether the game you are entering is League, FA Cup etc. The program expects a character code. The code are displayed here :
L : League Matches
C : League Cup
F : FA Cup
E : European Cup (UEFA, Champions League, Cup Winners Cup)
O : Other
Next you have to enter the home team followed by their number of goals scored. After this you have to do the same for the away team. If one of these teams is you chosen team for the top scorers table you will be asked for the scorers one by one (Please check spelling before comiting information)
The last option is to quit. This option creates the two HTML files and saves the other files.
To use the HTML files just copy them to the place where you need them or transfer the files to you home page service (e.g. Geocities).
Thank you for using my small program and I hope it is useful.
Any ideas to make this program better please E-Mail me :