home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / _progcalc / !ProgCalc / !help < prev    next >
Encoding:
Text File  |  1992-05-07  |  1.8 KB  |  43 lines

  1. Programmer's Calculator by Ray Loades-Bannon
  2.  
  3. This program is hereby donated to the public domain, feel free to copy it
  4. and give it to other people. No claims are made about the performance of
  5. this program and no responsibility is accepted for its actions.
  6.  
  7. Use the !Help utility on the RISC OS Applications disc 1 to get live help.
  8.  
  9. The keyboard may be used while the pointer is over the calculator window, or
  10. at any time if the input focus has been claimed by clicking on the input
  11. display icon. The funny symbols on the calculator have been used rather than
  12. English words to enable the calculator to be used to the fullest extent from
  13. the keyboard.
  14.  
  15. The symbols on the calculator are based on those used in the 'C' programming
  16. language, together with a few of my own :
  17.  
  18. #     = clear input, clears accumulator if current is zero
  19. H     = hexidecimal input mode on/off
  20. ±     = negate input (2's complement)
  21. ~     = negate input 32 bits only (1's complement, i.e. reverse all bits)
  22. ^     = XOR 32 bits only
  23. &     = AND 32 bits only
  24. |     = OR  32 bits only
  25. %     = MOD
  26. >>    = Shift right
  27. <<    = Shift left
  28. ⇧     = Power
  29. /     = Divide
  30. *     = Multiply
  31. -     = Minus
  32. +     = Plus
  33. =     = Equals (gerraway), perform pending operator
  34. M1-M4 = Memory 1-4 (F1-F4 keyboard equivalent)
  35. (     = Start sub-calculation, stack accumulator and pending operator
  36. )     = End sub-calculation and use pending operator on it and accumulator
  37.  
  38. This program is written in C and uses the shared C library and floating
  39. point emulator from the !System directory, which it expects the desktop to
  40. have 'seen' beforehand. The system directory can be found on RISC OS
  41. Application disc 1. Because the program loads these modules it does take up
  42. rather a lot of memory, however it does share these modules and their memory
  43. requirements with other C programs such as !Edit, !Draw and !Paint.