Freeware
New Calc Lite for OS/2 released



Developer Magnus Olsson released new version of Calc Lite for OS/2 (32-bit Scientific CLI Calculator ). This utility run in command line at the OS/2 prompt (photo above shows Calc Lite running in the Warp 4.0 of @Macarlo, Inc.). The archive, CALC.ZIP (40, 4k) you can get it now, clicking the folder here:

Get!



The "Calc Lite" calculator is a freeware version of the command line calculator included in the shareware WarpCalc. The only major difference is that this version is unsupported.


System requirements

Calc Lite is a 32-bit OS/2 application and should run on OS/2 version 2.x and above.


Licensing


Calc Lite is freeware, but is copyrighted and not in the public domain. Permission is granted to any individual or institution to use, copy, or redistribute this software so long as all of the original files are included unmodified, that it is not sold for profit, and that this copyright
notice is retained.


Documentation

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. 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 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> ][ /unit deg|rad|gra ]

This version introduces a new switch for ISO signs. This switch forces the decimal sign to be a comma, the multiplication sign a dot above the line and the division sign a slash.

[ /iso ]

To have the calculator use ANSI colors to highlight input and results add the following switch.

[ /color ]

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. All environment variables are case insensitive.

CONTACT THE AUTHOR:

magnus olsson
magnuso@ibm.net



@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited

[TOP] [HOME] [INDEX]