home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / psam / !PSAM / !Help < prev    next >
Text File  |  1997-01-01  |  35KB  |  732 lines

  1. PSAM - a Program for Scoring Athletics Matches - Version 0.06
  2. -------------------------------------------------------------
  3.  
  4. PSAM is designed for scoring track-and-field matches where the number of 
  5. scorers in each event is fixed, the number of scorers from each team is also 
  6. fixed, and competitors are declared in advance. It is very configurable and can
  7. cope with a range of different kinds of match. However, there is no support for
  8. non-scorers or guests. Handling these is just (in my opinion) a word-processing
  9. problem, and a word-processor can be run alongside PSAM to deal with them.
  10.  
  11. PSAM is freely distributable, but the author retains the copyright. See the 
  12. file called LICENCE.
  13.  
  14. Philip Hazel
  15. 33 Metcalfe Road
  16. Cambridge CB4 2DB
  17. Phone: +44 1223 365518
  18. Email: ph10@cam.ac.uk
  19.  
  20.  
  21. Running PSAM
  22. ------------
  23.  
  24. The PSAM icon is supposed to be a field with a track running round it. The 
  25. program loads onto the icon bar in the usual way. When first loaded, the icon
  26. is dark, indicating that no match is in progress. As soon as you enter some
  27. data, either by loading a file, or via the menus, the icon changes to green and
  28. yellow. You cannot then load a new file without unloading the old one, and you
  29. can't unload without explicitly saving or discarding the current data.
  30.  
  31. It is suggested that you load PSAM at this point and have it available to look 
  32. at as you read through this document. Some sample scored matches are supplied 
  33. so that you can see all the facilities without having to invent data for 
  34. yourself.
  35.  
  36.  
  37. Saving data in files
  38. --------------------
  39.  
  40. PSAM saves its data in ordinary text files. It didn't seem worth inventing a
  41. special file type for the small number of times that you actually load a file,
  42. so the only loading method is by dragging such a file to the icon. The files
  43. are human-readable, though not in a very useful format for human
  44. interpretation. However, it would be straightforward, for example, to write a
  45. program to process the results in some special way.
  46.  
  47. Every 2 minutes, PSAM checks to see if there have been any changes to the data 
  48. it has in RAM, and if there are, it dumps the data to a disc file. Thus if the
  49. power fails or (heaven forfend) the program crashes, you don't lose very much
  50. data. The first time it wants to save data, PSAM pops up a standard Save
  51. dialogue box, to allow you to specify where the data is to be saved. Subsequent
  52. saves are written to the same file without asking. You can also save manually
  53. from the menu at any time. If you do this before the first automatic save, PSAM 
  54. will use the same file for subsequent automatic saves, without asking first.
  55.  
  56.  
  57. Overview of operation
  58. ---------------------
  59.  
  60. Scoring a match normally happens in three stages:
  61.  
  62. (1) First, you define the structure of the match: which age/sex groups there 
  63. are, which events they are doing, how many scorers there are per event 
  64. (strictly, scorers per "string"), and the scoring rules. If you are going to
  65. score several matches in the same league, this need be done just once, saved,
  66. and then you can start from there for each match. You can also define a layout
  67. for a cover sheet containing the final result of the match.
  68.  
  69. (2) At the start of a match, each team is defined and the team declarations are
  70. entered into declaration windows. It is possible to have more teams than
  71. scorers per string, assuming that not all teams are competing in all groups
  72. (the East Anglian League final is like this). It is also possible to have fewer 
  73. teams than scorers per string if there is more than one scoring athlete from 
  74. each team. However, for many matches the number of teams is the same as the
  75. number of scorers per string.
  76.  
  77. (3) As the results come in during the match, they are entered into on-screen
  78. scoresheets, of which there is one for each age/sex group. All you enter are
  79. the team letters and times or distances - the competitors' names are obtained
  80. from the declarations. Scores are automatically allocated and totalled and a
  81. match summary window shows the running totals for all groups and optionally a
  82. running grand total. At the end of the match, scoresheets and a summary cover
  83. sheet can be printed, and it is also possible to print out a page for each 
  84. team showing the times and distances achieved by all its competitors.
  85.  
  86. The description below assumes this sequence of events, but PSAM does not impose 
  87. any ordering other than what is logically necessary. For example, you can't 
  88. display a scoresheet until you have declared at least one team. However, you 
  89. can change things at any time. You can add or delete events in the middle of a 
  90. match, for example. Much more likely, you can change declarations at any time; 
  91. if a changed competitor already appears on a scoresheet, the name is changed in
  92. both places.
  93.  
  94. If you change the scoring rules, PSAM will re-score the entire match. You can 
  95. use it to answer questions such as "what is the result if we change from 
  96. 4-3-2-1 scoring to 7-5-2-1?" for example.
  97.  
  98.  
  99. The Menu
  100. --------
  101.  
  102. PSAM has just one menu, which can be pulled up from the icon and from any
  103. scoresheet or declaration window and from the title window. Various menu items
  104. are greyed out when not usable. As well as the usual Info and Quit items, the
  105. menu contains the following:
  106.  
  107. Title...  brings up a title window which is also displayed if you click 
  108.           with Select on the icon, and whenever you load a file. The contents
  109.           of the fields in this window (the name of the league and division, 
  110.           the date, venue and host club) are available for use in cover sheets,
  111.           and the date, league, and venue are printed on the bottom of each 
  112.           scoresheet. If the date is empty when a file is loaded, it is 
  113.           automatically set to the current date. Thus you should save a 
  114.           "starter" file with an empty date field. The "Match ID" item is 
  115.           useful if you are scoring two matches simultaneously, by running two 
  116.           copies of PSAM. Any text you enter in this field is prefixed to the 
  117.           normal titles of the group and team windows, thus indicating to which 
  118.           match they belong. The text is not used for anything else. The "cover 
  119.           template" item at the bottom of the title window is described in the 
  120.           section on cover pages below.   
  121.  
  122. Match...  brings up the summary window for the match, containing the totals and
  123.           positions for each group and optionally grand totals and league points 
  124.           (see description of the scoring rules dialogue box below). 
  125.  
  126. Group     When at least one event, one group, and one team are defined, this item 
  127.           leads to a submenu of group names. Selecting one of them causes the 
  128.           scoresheet window for that group to be displayed, or brought to the 
  129.           front if hidden behind other windows.
  130.           
  131. Team      When at least one team is defined, this item leads to a submenu of 
  132.           team names. For each team there is a further submenu of the groups it 
  133.           is connected to, and selecting in this submenu causes the declaration 
  134.           window for that group to be displayed. When the team is not connected 
  135.           to any groups, its name is greyed out.
  136.           
  137. Print     opens a printing dialogue box (see Printing below). 
  138.  
  139. Structure leads to submenus for manipulating the structure of the match, as 
  140.           described below.   
  141.           
  142. Save      is just as you would expect.
  143.  
  144. Unload    unloads the current match data so that a new match can be loaded. If 
  145.           the data are not saved, you are prompted as to whether you want to 
  146.           save or discard.
  147.           
  148.  
  149. Scorers and Strings
  150. -------------------
  151.  
  152. Many athletics matches are scored in "strings". Each string is scored as if it 
  153. were a separate event, even if the competitors actually compete together, 
  154. though which athelete is in which string is sometimes not determinable until 
  155. the results of a joint event are known. Different events may have different 
  156. numbers of strings, so the number of strings is an attribute of an event rather 
  157. than being an overall setting.
  158.  
  159. Most of the matches I deal with have two strings (known as A-string and
  160. B-string) for each event, and in eac