_____________________________________________________________ Warp + Calc = WarpCalc Copyright (c) 1997-2008 Magnus Olsson. All rights reserved. Version 1.10B _____________________________________________________________ Home: www.cosmicledger.com/software/warpcalc/ Support: warpcalc@cosmicledger.com _____________________________________________________________ =========================== BETA ============================ This is a beta prerelease set to expire on 10 November 2008. 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 is shareware. The great thing about shareware is that you only have to buy what you use. The 30 day trial period is absolutely free. If you decide to use WarpCalc after this trial period has expired you must register the software. Payment of the one-time registration fee grants you a lifetime licence to use this version and all upgrades on one computer at a time. See register.txt for details. New in this prerelease ====================== New: The calculator now switches from result to input mode when you press any character key. New/Fixed: Spaces following the decimal separator are now accepted and interpreted correctly. New/Changed: The international standards mode has been updated to reflect ISO 31-0 and its second amendment. The alternative mode has been changed and renamed ASCII. It is the same as the ISO mode, but uses the asterisk for multiplication sign. It also introduces the double asterisk as an alternative power operator (2^2 equals 2**2). New: All-lowercase ans variable available as a synonym to the old Ans. Changed: Versioning has changed with this version. The scheme now consists of four fields: major and minor version numbers followed by revision/prerelease and external build numbers. Changed/Fixed: This version introduces a few cosmetic changes and also fixes some minor dialog navigation issues. Changed: A new registration key is required. Please let me know what you think of these changes before the prerelease period ends. Feature requests are also welcome. 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 (Last general release) 2008-10-15 Version 1.10B (Beta Prerelease) Future ====== The future is bright! The degree of brightness, however, depends greatly on you and me. Please email any bugs, comments and suggestions to the support address found in the header of this readme. 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.