home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / MISC / TIMECALC / TIMECALC.WRD (.txt) < prev   
Encoding:
Psion Series 3 Word Document  |  1995-05-18  |  3.6 KB  |  64 lines

  1. PSIONWPDATAFILE
  2. ROM::BJ.WDR
  3. BTBody text
  4.      
  5. HAHeading A
  6.      
  7. HBHeading B
  8.      
  9. BLBulleted list
  10. y text
  11.      
  12. NNNormal
  13.         
  14. UUUnderline
  15.      
  16. BBBold
  17.           
  18. IIItalic
  19.         
  20. EESuperscript
  21. SSSubscript
  22.      
  23. Time Calculator (Timecalc)
  24. Status: Freeware.
  25. Introduction
  26.   This is a small add-on module for the calculator application.  It enables you to do simple mathematical operations (+, -, *, /) on clock times.
  27. Installation
  28.   To install this module simply copy it into any \OPO directory and then go into the calculator application and choose "Load OPL" from the "Special menu" option.  It will then bring up a dialog box, choose Timecalc from under the "File: Name" selector.  This module will now replace any other loaded modules and you can proceed to use it.
  29.   To start the module working type: tcalc:("expr") where expr is your expression.
  30. Some examples are included below.
  31. Syntax
  32.   The basic syntax for entering a time is HH.MM.SS ie two digits for each of the Hour, Minute and Second times.  The hour number can be between 00 and 99, the minute and second numbers can be between 00 and 59.  Note you MUST enter two digits for each number, if you forget then the module will complain (see Example error messages).  The hours, minutes and seconds should be seperated by full-stops (.), the whole expression should be terminated with a colon (:).  Any spaces that you care to add will be removed.  The module accepts any of the four simple mathematical operators, though multiplying and dividing times may give strange results.  The characters for these operations are the same as the normal calculator ie +, -, * and /.
  33.   The sum is then returned as a six digit number in the calculator display.  It is also returned as a dot-seperated time in the bottom right-hand corner of the display.  This will disappear after a few seconds as it is only intended as a guide for times with confusing numbers of digits.  Any errors that may be reported will also be shown at the bottom right of the screen.
  34. Example expressions:
  35. tcalc:("18.21.29:")
  36. returns the time 182129
  37. tcalc:("18.21.20 + 13.10.40:")
  38. returns the time 313200 (an example of summing two times)
  39. tcalc:("18.21.20 - 13.10.40:")
  40. returns the time 51040 (an example of subtracting two times)
  41. this is a good example of looking at the time in the bottom-right hand corner as this is shown there as 5.10.40, ie 5 hours, 10 minutes and 40 seconds.
  42. Example error messages:
  43. Missing Operand: You have missed out a whole time (ie HH.MM.SS)
  44. Missing Operator: You have missed out an operator (ie +, -, * or /)
  45. Missing, .: You have missed out a seperator (ie .)
  46. Missing seconds: You have missed out one or two digits of the seconds
  47. Missing minutes: You have missed out one or two digits of the minutes
  48. Missing hours: You have missed out one or two digits of the hours
  49. Contacting the Author:
  50. To contact me try:
  51. Andrew Gray,
  52. 7 Cambron,
  53. Two Mile Ash,
  54. Milton Keynes,
  55. Bucks,
  56. MK8 8BZ
  57. ajg4@ukc.ac.uk
  58. Any comments, ideas for improvement or anything welcome :-)    
  59. BTNNw
  60. BTBB-
  61. BTNNY
  62. BTBBX
  63. BTNN<
  64.