home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
TOOLS
/
WARPCALC
/
READ.ME
< prev
next >
Wrap
Text File
|
1997-10-06
|
8KB
|
185 lines
___________________________________________________________
Warp + Calc = WarpCalc
Copyright (c) 1997 Magnus Olsson. All rights reserved.
Released Oktober '97
___________________________________________________________
Description
===========
This calculator package contains a command-line calculator
for easy access when you can't or just don't want to use the
GUI, and a regular presentation manager program for good
looks, space and time conservation. Both versions share the
same core capabilities as described below.
Quick documentation
===================
The calculator has 22 standard functions built-in. You can
also define your own mathematical functions. These functions
can be called in exactly the same way as the predefined
ones. They can also be called from within each other.
There are only three predefined variables: pi, e and ans.
I assume everyone knows the first two; the third one holds
the result of the last successful evaluation. The user can
define his/her own variables using the assignment operator:
<name> = <mathematical expression>
All variables has the internal precision of at least 15
significant digits.
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 used in conjunction with the
trigonometric functions is degrees. The defaults can be
overridden through command line options as shown below.
[ /not sci|fix|eng ][ /prec <n> ][ deg|rad|gra ]
Features specific to the command-line version (V2.52)
-----------------------------------------------------
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 behaviour. The prompt shows the
angular unit currently used.
Features specific to the GUI version (V1.02)
--------------------------------------------
When using the GUI version you can enter a mathematical
expression by using the mouse pointer as your finger. To
save desktop space some functions are only available
through combining two or three buttons. Their names and
button combinations are listed below.
sqrt = <inv> + <sq>
asin = <inv> + <sin>
acos = <inv> + <cos>
atan = <inv> + <tan>
sinh = <hyp> + <sin>
cosh = <hyp> + <cos>
tanh = <hyp> + <tan>
asinh = <inv> + <hyp> + <sin>
acosh = <inv> + <hyp> + <cos>
atanh = <inv> + <hyp> + <tan>
You can of course also enter these and all other functions
through the keyboard if you find that easier.
Click the <EXE> button to evaluate the entered expression.
If there is an error or if you want to build upon the just
entered expression you can recall it by clicking once at
the left arrow button or by pressing the <BackSpace> key
(following clicks/keypresses will erase the character to
the left of the cursor in the entryfield).
A pop-up menu is used to configure the calculator. It can be
brought up by right-clicking between the two keypad areas
or just below the entryfield. The only item on the menu in
need of some explanation is the last one. This item will
present a dialog used for updating or deleting user-defined
mathematical functions. When creating a new function all you
have to do is supplying the name of the function in the
first entryfield, the name of the argument in the second,
and the mathematical expression defining the function in the
third. When deleting a function you only have to supply its
name.
NOTE: This version uses the WarpSans font introduced with
Warp 4, if this font is not available the default
system font will be used instead.
Licensing
=========
WarpCalc is shareware. You are allowed to freely use this
piece of software for a trial period of 30 days. If you
decide to use it even after this trial period have expired
you must register the software. The one-time cost of
registration grants You the right to use this version and
any minor upgrades on one computer at a time. The price for
a license is $19 (US). WarpCalc is fully functional, the
product information dialog shown at start-up is only a
reminder to register (even honest people like my-self can
forget such things;). You can register through BMT Micro,
see the file register.txt for details. When you have
registered, the product information dialog will no longer
be shown at start-up, but it can still be called up through
the system menu. The dialog will now contain the following
two lines:
This copy has been licensed to
<Your Name>
Thanks for supporting the wonderful concept of ShareWare!
Brief History of WarpCalc
=========================
1997-08-24 Version 1.00
Initial version without any bugs.
1997-09-09 Version 1.01
Bugfix for letting dubious expressions pass the
parser without any error message. Possiblility
to inverse the currently displayed result.
The Back-Space key can be used as an alternative
to the left-arrow button.
1997-09-28 Version 1.02
Uses the "Ans" mnemonic when building on the
currently displayed result. This ensures maximum
precision. Also some minor cosmetic changes.
The Future in general
=====================
The future is bright! However the degree of brightness
depends greatly on you and me. Please email any bugs and
requests to the following address and I will see to them:
magnuso@ibm.net
Thanks in advance.
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.