home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / timing / slipcharge_1 / !SlipCharg / !Help < prev    next >
Text File  |  1996-06-08  |  4KB  |  79 lines

  1. !SlipCharge 1.02  08th June 1996
  2.  
  3. This routine takes the !SlipDial log file, and uses it to build a file 
  4. called 'Costs' (in the !SlipCharg directory).  The Costs file uses the online
  5. and offline records in the !SlipDial log file to calculate the cost of the
  6. call, and also maintains a cumulative cost.
  7.  
  8. New in this version is support for FreeDial, although this has not
  9. been fully tested. I use it with the Acorn stack & PPP, not Freenet. 
  10. Any feedback on this with Freenet or other configs welcome.  You
  11. have to alter the Dialler parameter in the Params file to use this.
  12. (It identifies where the Log file is)
  13.  
  14. !SlipDial log records formats supported
  15. # 950525 183331 online to 01813384848
  16. # 950525 192506 offline after 00:51:28
  17.  OR the older format pre 0.34d
  18. Thu,18 May 1995.19:13:38: online to 01813434848
  19. Thu,18 May 1995.19:28:39: offline after 00:14:58
  20.  
  21. !SlipCharg Costs record
  22. 25/05/95 18:33   01813384848  00:51:28 @ 1.40p   84.6p  Cumulative    99.4p
  23.  
  24. The cost (84.6p) includes VAT, the rate (1.40p) does not.
  25.  
  26. To run !SlipCharge just double click on its icon as usual.  An icon will
  27. appear on the icon bar for a time and then disappear.  Note: this icon
  28. is ONLY to let you know when !SlipCharge has finished (it goes away then!). 
  29. I have not bothered to load menu code so clicking menu on it does nothing!!
  30. If things go wrong and you need to quit, then use the Task Manager.  The
  31. program is not particularly fast so give it a few minutes if your log file is
  32. large.
  33.  
  34. There is a file called Params in the !SlipCharge directory which the program
  35. reads to establish parameters such as call rates, phone numbers etc.  By
  36. default all calls are national, but you can edit this to tell !SlipCharge 
  37. that certain numbers are 'local' or 'regional'.
  38.  
  39. The costing is at BT rates unless the number begins with 131 or 132 when 
  40. it is assumed to be Mercury.  It will use the Mercury SmartCall rate, but
  41. by altering the variable 'MCLrate' in the Params file, the Mercury standard 
  42. rate can be set.
  43.  
  44. There is no way that I can think of programming in all the various special
  45. discount schemes that BT and Mercury provide. If you use these you will have
  46. to make your own adjustments.
  47.  
  48. This program is public domain and all the usual caveats apply.  Use it at
  49. your own risk. In particular note that it is only an indication of costs, I
  50. don't think that !SlipDial logs all failed call attempts, and each one costs
  51. you 5p!. 
  52.  
  53. This code was cobbled together very quickly in BASIC to keep track of my own
  54. bills, it was not really meant for release.  The code is not elegant or
  55. quick.  If you don't like it then don't use it. 
  56.  
  57. History
  58.  
  59. 0.10  June 1995  First attempt, done to keep track of my own bill
  60. 0.11  23/07/95   First alpha release to the net.
  61.                  Removed the Dates and WimpLib LIBRARY calls and
  62.                  put stripped down code in the main routine.
  63.                  Added Params file rather than hard code the parameters.
  64.                  Various other minor improvements.
  65. 0.12  28/07/95   Added support for older SlipDial formats.
  66. 0.13  30/07/95   Added Mercury call charges for 131 or 132 calls.
  67. 0.14  02/08/95   Bug Fix (FNmonth not truncating month to 3)
  68. 0.15  05/08/95   Changed reading of Params file to use PROCSetBas
  69. 0.16  17/09/95   Allowed 2 offlines to be a failed call
  70. 1.00  25/09/95   No changes, just moved to issue 1 with PGP certificate
  71. 1.01  08/10/95   Added code to estimate duration if SlipDial leaves it off.
  72. 1.02  08/06/96   Code to keep a Backup of the costs file.
  73.                  Support for SlipDial 0.40 which adds info after the phone number.
  74.                  Support for FreeDial log format 
  75.                  NOTE.  No changes to tariffs done, I don't think they have changed.
  76.                  
  77. Bug reports to   John@meers.demon.co.uk
  78.  
  79.