----------------------------------------------------------------------------- calculator (package math/calculator-1.1) Richard Booth rvbooth@lucent.com (610)712-2324 Sat Dec 20 22:09:05 EST 1997 Tcl/Tk version 7.4/4.0 calculator release 1.1 ----------------------------------------------------------------------------- calculator is a full-featured Tcl/Tk calculator with the following keys: OFF HELP const pi AC DRG MENU put e CE HYP sin cos tan sqrt ARC x! 10^x exp x^2 M+ 1/x log ln y^x M- EE ( ) / STO 7 8 9 * RCL 4 5 6 - XCH 1 2 3 + CLR 0 . +/- = Each key has a keyboard binding, so that users can interact with the calculator via the keyboard alone. In addition, pasting a selection on the display activates the appropriate key sequences, so that externally-selected numbers or expressions may be pasted in. Backspacing (keyboard only) is also supported. The "help" key displays all of the keyboard bindings. The "const" key brings up a listbox dialog with the several fundamental constants (planck constant, speed of light, for example). The "put" key appends the current result at the end of the constants list, so that the next time the dialog is displayed, the saved result can be retrieved. The "menu" key posts a menu of several additional options: a mortgage payment calculator, a compound-interest calculator, toggle logging of calculator activity, display the current calculator stack, and set the precision. The "DRG" key controls "degrees", "radians", or "grads" modes. ----------------------------------------------------------------------------- Any comments and suggestions, as long as friendly, are welcome. If you find it useful, please let me know.