home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / progcalc / !ProgCalc / !Help next >
Encoding:
Text File  |  1991-02-24  |  4.7 KB  |  137 lines

  1. Programmer's Calculator
  2. -----------------------
  3.  
  4. THE PROGRAM
  5. ===========
  6.  
  7. Program : ProgCalc - RISC OS Programmer's Calculator
  8. Author  : Ray Loades-Bannon (with Interface module by Simon Huntingdon)
  9.           11 Maryland
  10.           Barkham
  11.           Wokingham
  12.           Berkshire
  13.           RG11 4PB
  14.           #14 on Arcade (081-654-2212)
  15. Version : 2.10
  16. Date    : 24.02.91
  17.  
  18. This program is hereby donated to the public domain, feel free to copy it
  19. and give it to other people. In no circumstances will the author be liable
  20. for any damage, loss of profits, goodwill or any indirect or consequential
  21. loss arising out of use of this software, or inability to use this software.
  22.  
  23. A couple of pound coins, a blank formatted disc and a sturdy stamped
  24. addressed envelope will get you the latest version of this program and my
  25. other public domain stuff (!FileType, !Ad·Astra, !MaxGammon and !Adventure).
  26.  
  27. Please read the file !Interface in the !ProgCalc directory for usage
  28. conditions of, and documentation on, the Interface module. 
  29.  
  30. USAGE
  31. =====
  32.  
  33. Use the !Help utility on the RISC OS Applications disc 1 to get live help.
  34.  
  35. CTRL/SHIFT/F5 'pops-up' the calculator and closes it again. Brave souls
  36. can change this default by delving into the file !ProgCalc.Variables.
  37.  
  38. The funny symbols on the calculator have been used rather than English words
  39. to enable the calculator to be used to the fullest extent from the keyboard.
  40. Note that 'P' and 'p' ('Power') are equivalent to ⇧ and 'N' and 'n'
  41. ('Negate') are equivalent to '±'. Note also F1 to F4 equate to the four
  42. memories (see below for usage).
  43.  
  44. The symbols on the calculator are based on those used in the 'C' programming
  45. language :
  46.  
  47. #     = clear input, clears accumulator if current is zero
  48. H     = hexidecimal input mode on/off
  49. ±     = negate input (2's complement) (also 'N' or 'n')
  50. ~     = negate input 32 bits only (1's complement, i.e. reverse all bits)
  51. ^     = XOR 32 bits only
  52. &     = AND 32 bits only
  53. |     = OR  32 bits only
  54. %     = MOD
  55. >>    = Shift right
  56. <<    = Shift left
  57. ⇧     = Power (also 'P' or 'p')
  58. /     = Divide
  59. *     = Multiply
  60. -     = Subtract
  61. +     = Add
  62. =     = Equals (gerraway), perform pending operator
  63. M1-M4 = Memory 1-4
  64.         SELECT               to input memory           (F1-F4)
  65.         ADJUST, SHIFT/SELECT to put result into memory (SHIFT/F1-F4)
  66.         CTRL/SELECT          to add result to memory   (CTRL/F1-F4
  67.         CTRL/SHIFT/SELECT    to clear memory           (CTRL/SHIFT/F1-F4)
  68. (     = Start sub-calculation, stack accumulator and pending operator
  69. )     = End sub-calculation and recover previous accumulator
  70. :     = Introduces exponent (no mouse input available)
  71.  
  72.  
  73. HISTORY
  74. =======
  75.  
  76. Version 1.00
  77. ------------
  78. Original Version
  79.  
  80. Version 1.01 - 30.04.89
  81. ------------
  82. Fixed 'eating' of F12 command line hotkey (and other unused keys).
  83.  
  84. Version 2.00 - 12.02.91
  85. ------------
  86. This is a total re-write (well nearly). The plus side of this is a much
  87. slicker look, the down side is a doubling of memory requirements. Stick with
  88. version 1.nn if you don't think the new look and other changes listed below
  89. are worth the increase in memory requirements.
  90.  
  91. Now uses new support procedures and Simon Huntingdon's excellent Interface
  92. module. This version is basically a test-bed for the wimp interface code I
  93. am developing for a major application (don't hold your breath). The large
  94. overhead involved in the generic nature of this code accounts for the vast
  95. growth in size of this version of ProgCalc. Hopefully this will be negated
  96. in the much larger major application and will actually result in an overall
  97. code saving.
  98.  
  99. Changes :
  100.  
  101. Sexy new look.
  102.  
  103. Hot-key (CTRL/SHIFT/F5) and menu short-cuts added.
  104.  
  105. Fixed a few inconsistencies of when it calculated result, cleared input etc.
  106.  
  107. Changed parenthesis operation so that ')' leaves result in input.
  108.  
  109. Lost drag of '#', input and result. Sorry about that, haven't done the
  110. generic drag code yet. Can still perform most of these operations with
  111. various clicks or with menu.
  112.  
  113. Some minor tidying of menus to put a few bits in more logical places and
  114. also to make them follow RISC OS guidelines better (e.g. no clicking on menu
  115. items with attached sub-menus needed to convert between radians and degrees
  116. - you did know that you could do so before didn't you ?)
  117.  
  118. Caret no longer temporarily grabbed when entering window.This caused more
  119. hassle than it was worth and was non-standard anyway.
  120.  
  121. Addition of more 'Clear' options to menu.
  122.  
  123. Version 2.10 - 12.02.91
  124. ------------
  125.  
  126. A few few bug fixes.
  127.  
  128. 'Input.Base' menu option added.
  129.  
  130. Hexidecimal (and other bases) changed to full precision (from 32bit
  131. integers).
  132.  
  133. Manitissa/exponent separator changed to ':', because hexidecimal can now
  134. have an exponent and 'e' for exponent would obviously cause a clash.
  135.  
  136. The wimpslot has actually been reduced by 16K!
  137.