A Desktop Calculator
by Mike Ironmonger

This Wimp application is an alternative to the Calculator supplied on Applications Disc 2. It features three displays, enabling the results of previous calculations to be retained. It works by using Basic's EVAL function, and thus will evaluate any legal Basic expression.

To perform a calculation, set the caret (the red vertical bar) to the appropriate window using the pointer or the up & down cursor keys. Type in the expression, either from the keyboard or by clicking on the buttons in the calculator window, then click on one of the Binary, Hex or Decimal buttons to display the result in that base, or press Return to display the result in the most recently selected base. Note that hexadecimal and binary numbers are converted to integers by rounding towards zero.

 Pressing F1-F3 or clicking on the corresponding button will result in that display's contents being copied to the caret position. Finally the three C buttons on the right clear the displays.