home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / maths / rpi / !RPI / !Help < prev    next >
Encoding:
Text File  |  1995-03-28  |  2.7 KB  |  65 lines

  1.                                                                      
  2.  
  3.                           Retail Prices Index
  4.  
  5.                                   by
  6.  
  7.                               Eddie Lord
  8.  
  9.  
  10. This file contains a programme to calculate comparitive prices using the
  11. RPIindex from 1925 to 1990. This was rebased in 1987.
  12.  
  13. The program is self explanatory. Dates can be entered as 1990 or as 90
  14. (for example).
  15.  
  16. This is just one programme in a collection of programmes that I
  17. originally wrote for the Master. Other include Interest calculations,
  18. Long Wave business cycles along with some photographic software.
  19.  
  20. Any correction, rhubarbs or other ideas to me please, via Norwich 
  21. Computers.
  22.  
  23. 23 September 1990.
  24.  
  25.                 ===============================
  26.                   Modification by David Holden
  27.                 ===============================
  28.  
  29. The original program took the RPI from DATA statements inside the
  30. program. This made it rather inflexible as although it was possible to
  31. add extra years you would have to 'hack' the program to do so. Not only
  32. would you have to add extra DATA statements but change the end year,
  33. which was fixed at 1990.
  34.  
  35. I therefore put the RPI data into an external text file called 'Index'
  36. in the application directory. This is a bit inflexible so you will need
  37. to be careful if you alter it, but it is a lot easier than changing the
  38. program itself. I have not changed the main program structure. This is a
  39. bit 'delicate' as it uses INPUT statements so beware of what you type,
  40. there is no trappimg for sill input data. (GIGO)
  41.  
  42. The first year is now the year on the first line of the file. After this
  43. come the indexes for all the following years. There must not be any
  44. blank lines, and there must not be any spaces between the start of a
  45. line and the index. If you want to add comments you can put them on any
  46. line after the actual index (I've included the decades to demonstrate
  47. this). I have used Eddie Lord's original data from the years 1925 to
  48. 1990, but it should now be possible to extend this backwards and
  49. forwards fairly easily.
  50.  
  51. As a 'double check' that the data has been entered correctly, if you
  52. hold down either ALT key when you start up the program it will print out
  53. a list of the years and the RPI's before it runs. Paging is enabled to
  54. stop it all scrolling by to fast so you will need to press SHIFT to see
  55. the next whole list. (Tip - hold down CTRL otherwise it will zoom past
  56. too quickly).
  57.  
  58. If you extend the years before 1900 or after 1999 everything should
  59. still work OK, but beware of using just the decades instead of the full
  60. year. If you enter '35' as a year it will always be interpretted as
  61. 1935, no matter what start and end years you have used for your data.
  62.  
  63.     David Holden - Archimedes Public Domain Library - March 1995
  64.  
  65.