InstantCalc 1.6.1 for Classic MacOS
for instantaneous calculations, ©1996-2002

 

Installation and Removal

Download the InstantCalc package. It comes encoded in BinHex format as an 388 kB .hqx-archive. For decoding you need a decompression tool like StuffIt Expander. The package consists of the InstantCalc Control Panel and the Read Me file. Also included is the small application SimpleCalc which is more powerful than the normal desktop calculator.

InstantCalc is a Control Panel, therefore, it should reside in the Control Panels folder inside the System Folder to be operative. For this, drag InstantCalc onto the symbol of your System Folder. You should confirm to put InstantCalc to the Control Panels and then restart your Macintosh. When first started, InstantCalc creates a file in the folder Preferences inside the System Folder which holds the user setup and the registration data. In addition InstantCalc since v1.5 creates a file in the Preferences folder which holds the user defined functions. Beyond this, InstantCalc makes no permanent changes to your system and hard disk data. Therefore InstantCalc can easily be removed, just by drawing itself and its preference file into the trash.

For quick access, put SimpleCalc into the Apple Menu.

InstantCalc also can pop up an InstantWindow where calculations can be performed and exported by the clipboard. This is handy in cases when you want to do a calculation and there is no proper text field around. Simply press the hot key combination with an additional modifier key.

Setup

In the InstantCalc Control Panel you can change the:

  • hot key combination

<ctrl>-c is predefined. A function key (F1..F15) can be specified as an alternate hot key.

  • additional modifier key

<cmd>-key is predefined. Pressing the hot key combination plus the additional modifier key lets InstantCalc show up its InstantWindow where calculations can be performed and exported by the clipboard.

  • mouse click combination

<ctrl>-mouse-click is predefined. MacOS 8/9 users should be aware, that the <ctrl>-mouse-click combination is used for the contextual menus. In this case either add a modifier key (i.e. <shift>-<ctrl>- mouse-click) or disable the mouse click option.

  • numerical accuracy

defining the breaking conditions for the numerical methods (Newton solver and Romberg integration) the iteration stops when either the absolute or relative change of the result between successive iterations drops below the respective value. The predefined values are 10e-9 absolute and 10e-7 relative.

  • number of significant digits

defining the number of digits of the result. Minimum is 1 and maximum is 19. Since it is also possible to define the number of digits instantly, the maximum value of 19 is predefined.

  • number of decimal digits

defining the number of decimals of the result. Minimum is 1 and maximum is 19. Since it is also possible to define the number of decimals instantly, the maximum value of 19 is predefined.

  • modify help key setting

checked:

the help key is active only with the given modifier key(s)(this prevents loading the help system by accident)

unchecked:

the help key operates normally

Changes to the setup take effect immediately after closing the InstantCalc Control Panel, without restarting your Macintosh. However, the program SimpleCalc (which belongs to the InstantCalc package) also uses the above preferences, but reads it only once at start-up. Therefore, if you made some changes within the InstantCalc Control Panel, having SimpleCalc open in the background, you may need to close and restart SimpleCalc after all.

 

Operation

InstantCalc operates on selected text and is invoked with either a hot key or a mouse click combination.

Upon invocation InstantCalc itself schedules a copy command for the selected text. Then it causes the front application to switch shortly to the background and again to the front after all. By this way it is guarenteed that the selected text is copied to the global scrap (the Clipboard) where InstantCalc can fetch it.

InstantCalc then analyses the copied text. If the clipboard contains no text (for any reason) InstantCalc simply issues a system beep. If it finds a valid mathematical expression, it does the calculation and replaces the content of the clipboard with the result. If the text in the clipboard is not a valid expression, InstantCalc prompts for correction with a small dialog displaying an error message and the error position in the expression.

Finally InstantCalc schedules a paste command. In almost all cases this will result in replacing the previously selected mathematical expression with its result. In most cases it is possible to undo this operation by entering the normal <cmd>-<z>, however, this depends on the capabilities of the host application. In some cases, the front application changes its context upon a foreground/background switch (i.e. the cursor moves to another position or the active input field becomes inactive), which normally affects the desired operation inappropriately. Try to use the mouse click combination for invoking InstantCalc in this case.

Sometimes you might want to keep the mathematical expression beside its result. This can be achieved simply by adding an equal sign "=" after the expression.

InstantCalc now can pop up an InstantWindow where calculations can be performed and exported by the clipboard. This is handy in cases where you want to do a calculation and there is no proper text field around. Simply press the hot key combination with an additional modifier key.

The User Defined Functions can be edited after pushing the <User defined functions...> button in the InstantCalc control panel. You can redefine internal functions of InstantCalc. The search algorithm starts looking for the function symbols in the user functions first and if no match occured it looks up the internal functions. The calculation will be performed with the first match. E.g., a user function in row 1 with the prolog symbol F(x) will be used in favor to a function in row 10 which gots the same symbol. User functions with high ordinal numbers can depend on those with lower ordinal numbers. The examples which come with InstantCalc can be overwritten, changed or deleted. The changes take effect immediately. You always can test new functions directly within the InstantWindow, try the <ctrl>-<cmd>-<c> combination. SimpleCalc can fetch the functions only when it starts. So if it was open during editing of the user functions, you must close and restart SimpleCalc so that it can acknowledge the new functions.

Version history

Version 1.6.1 (March 2002):

Version 1.6 (December 2001):

Version 1.5.1 (July 2001):

Version 1.5 (June 2001)

Version 1.4.1 (September 2000)

Version 1.4 (September 2000)

Version 1.3.1 (July 2000)

Version 1.3 (July 2000)

Version 1.2 (February 2000)

Version 1.1 (January 2000)

Version 1.0 (August 1998)

 

Suggestions, comments and error reports are welcome! Please email to:

InstantWare@t-online.de

or mail to:

Dr. Rolf Jansen
Postfach 1123
D-55272 Oppenheim
(Germany).