cupcalc is a Tcl/Tk calculator application. The program is graphical and uses the Tk toolkit along with Future Lab graphical library modules. The program is run using the graphical wish shell. Before attempting to run this program, edit the main program file (cupcalc.tcl) and set the Tcl directory structure so that the program can locate the required Future Lab library files.
Cupcalc is an expression calculator which means that you enter calculations in expression form. For example:
(14*2)+(13/3)
There are two main panes in cupcalc. The top pane is where you enter your expressions and the result appears in the bottom pane. The bottom output pane is not write protected so you may enter calculation notes in this pane.
Once you have entered your expression in the top pane, press the enter key or use the File->Run menu option or the Ctrl-R key combination to run your calculation. The result will be displayed in the bottom pane.
The program has the ability to use cut, copy and paste between the top and bottom panes. You may also use the result of your last calculation in your current expression by the Edit->Last Result menu option or the Ctrl-L key combination.
The cupcalc calculation engine is the Tcl expr procedure which is very powerful and has many special abilities.