_____________________________________________________________ Warp + Calc = WarpCalc Copyright (c) 1997-2012 Magnus Olsson. All rights reserved. Version 2.0 _____________________________________________________________ Home: www.cosmicledger.com/software/warpcalc/ Support: warpcalc@cosmicledger.com !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Bugs not reported are almost guaranteed to be included in the next release! !!!!!!!!!!!!! Description =========== The WarpCalc calculator package contains two scientific calculators, one for the OS/2 command line (CLI) and one for the OS/2 Presentation Manager (GUI). Both versions share the same core capabilities. In addition to common calculator features they allow the user to define his/her own symbols. For documentation on the GUI version refer to the extensive online help. Depending on the context, online help can be called up by pressing F1 on the keyboard, selecting the help items on the system menu or simply clicking the help button in the current dialog. For documentation on the CLI version have a look at 2nd last section of this readme. System requirements =================== Both the CLI version and the GUI version are 32-bit OS/2 applications. Calc should run on OS/2 2.x and above. WarpCalc runs on OS/2 3.x (Warp), but Warp 4 or later is recommended for visual appearance. WarpCalc uses the WarpSans font introduced with Warp 4 (and later FixPaks for Warp 3). Installation ============ Neither the CLI version nor the GUI version requires any special installation. Simply copy the included files to a directory of your choice. If you are using Warp 4, the WPS will create a program object for WarpCalc when you drag the executable to your desktop. If you want to start WarpCalc from the desktop popup menu follow these steps: 1. Click mouse button 2 on the desktop. 2. Select "Properties" from the menu. 3. Click on the "Menu" tab. 4. Drag the WarpCalc program object over the "actions on menu" list box and drop it. Licensing ========= WarpCalc 2.0 is freeware! The great thing about freeware is that you only pay for it if you can and wish to make some poor developer happy. Although in every way optional, you can still get a personal licence for use with this version (see register.txt for details). About this version ================== New: Freeware. Changed: Open Watcom C/C++ 1.9 has been used to compile and link this version. Changed: Versioning scheme consists of four fields: major and minor version numbers followed by revision/prerelease and stepping. The full version specification for this release is 2.0.0.0. Changed: A new registration key is required. It is available for free for all previously registered users. More: See online help. History ======= 1997-08-24 Version 1.0 (Initial) 1997-09-09 Version 1.01 1997-09-28 Version 1.02 1997-10-09 Version 1.03 1997-12-23 Version 1.5 1998-01-03 Version 1.7 1998-01-14 Version 1.71 1998-03-20 Version 1.8 1998-04-04 Version 1.81 1998-04-30 Version 1.82 1998-06-01 Version 1.83 1998-09-05 Version 1.84 2001-07-31 Version 1.9 2010-01-16 Version 1.10 2012-03-21 Version 2.0 (Latest) Documenting the CLI version =========================== The command line version can be passed a mathematical expression as a command line argument like this: calc pi The above command evaluates the name pi and displays the result using default settings. It then immediately returns to the command prompt. It is also possible to enter more than one expression at once, separating the different expressions with semicolons. calc "x= atan 2; sin x/cos x; tan x - ans" The first expression assigns the angle for tangens 2 to x. In the following expression the value of x is used to calculate tangens for x. The last expression should give the result zero (ans holds the result from the previous expression). When starting the command line version without passing any expressions the program will display a command prompt. From that prompt you can evaluate mathematical expressions and configure the calculators behavior. The prompt shows the angular unit currently used. Online help can be displayed by entering the internal command 'help'. For a list of help topics enter: 'help ?'. As a default the calculator uses a flexible result notation. Except for fix point notation the default precision is 15 significant digits (fix point notation uses 15 decimals). The default angle measurement unit used in conjunction with the trigonometric functions is radian. The defaults can be overridden through command line options as shown below. [ /not sci|fix|eng ][ /prec ][ /unit deg|rad|gra ] To have the calculator use ANSI colors to highlight input and results add the following switch. [ /color ] For U.S. based users there is also a switch to force the calculator to use ISO signs for decimal separator, multiplication and the division. [ /iso ] Defaults for the command line switches can be set through the following environment variables: calc_not, calc_prec, calc_unit, calc_iso and calc_color. The options are the same as above except for calc_iso and calc_color, which take either a yes or a no. [ set calc_pos= ] By stating the above in config.sys or directly at an OS/2 command prompt you tell the calculator what column position to use for the last digit of the results. The default, far right, position may be inappropriate when in fullscreen mode. To fix results at column 40 simply specify: set calc_pos=40 Note that all environment variables are case insensitive. The internal command line works as follows. A block cursor indicates over-write mode and a line cursor insert mode. Escape erases the current input. Input history can be navigated with the up/down- keys. Disclaimer ========== THIS PROGRAM IS PROVIDED AS IS AND COMES WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE LIMITATIONS ON IMPLIED WARRANTIES OR THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.