home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
calculat
/
clc00b.zip
/
CLC.TXT
< prev
Wrap
Text File
|
1993-05-30
|
5KB
|
162 lines
Command-Line Calculator v0.0ß
(c) 1993
Produced by The Computer Guy Inc.
Programmed by Bill Rand
This is my first attempt at a shareware program and I hope you
like it. I am an avid BBSer and computer programmer and I sometimes
need a calculator. Unfortunately, if your house is anything like
mine you realize how hard it is to find a calculator when you need
it. I also hate those memory resident calculators because I only
have a meg of memory. That is why I wrote this program. Basically
it allows you to do simple arithmetic without ever leaving the
command line.
ShareWare License
-----------------
Thank You! You now have a trial Shareware copy of Command
Line Calculator(CLC). CLC is distributed as Shareware to reach the
widest possible audience, so let's take care of the legalities.
CLC is copyrighted material. You are granted permission to try
CLC for thirty days, for the purpose of deciding if you wish to
keep it.
You are encouraged to distribute copies of CLC, subject to the
following conditions:
1) All files are distributed together and unaltered.
2) No charge is made for the software.
(A small fee for media and handling is permissible.)
If you decide to keep CLC in your software library, you
should register your copy by using the order form on the next page.
Anyone who receives a copy of CLC from you should register their
copy if they decide to keep it and use it.
Thank you for supporting the Shareware concept by registering
your copy of
C O M M A N D L I N E C A L C U L A T O R ! ! !
CLC v0.0ß ORDER FORM
You can use this form to register CLC v0.0ß, or whatever the
newest version is when your order arrives.
Registration ($5) will entitle you to the following:
1) A copy of CLC
2) A copy of the source code
3) An online catalog
Shipping Address:
Name:.............................................................
Street:...........................................................
City, ST, ZIP.....................................................
Disk Type: 5 1/4" 3 1/2" (circle one)
Make checks payable to: Bill Rand
Mail to:
The Computer Guy
4615A Cox Dr
Stow, OH 44224-1401
Syntax
------
CLC(.exe) P O n1 n2 n3 ... nI
This is true where:
P=number of real numbers being operated on; in other words I
O=operation being performed currently limited to: +,-,/,*
+=adds
-=subtracts
/=divides
*=multiplies
n1 n2 n3 ...=the real numbers to be operated upon
P and O are required enough; n's are required to equal P
Instructions
------------
Any number of real numbers within the bounds of the Turbo
Pascal 7.0(c) word type definition are allowed though I doubt
you'll need that many since the word type will allow you to enter
65,535 (minus of course the two necessary parameters). The first
parameter is the operation to be performed. Right now your are
limited to one operation per computation and only the four basic
arithmetic operations. The second parameter tells the program how
many numbers you are operating with. If there are too few real
numbers the program adds 0's for the number specified by the first
parameter. If there are too many parameters the program ignores
the extra parameters.
Details and other info
----------------------
This program was written in Turbo Pascal 7.0 on an IBM PS/1
80286. Though this program should not have any negative side
effects, the author of this program takes no responsibility if it
should in any way harm the operator's computer, software, or other
associated items. In other words, use at your own risk.
Personally, IMHO I do not know how this program could affect your
computer.
Currently the program outputs in two decimal accuracy. For
better accuracy send in your registration fee.
Registration Info
-----------------
This program is not freeware! It is shareware. In other
words, from the first time you use this program or read this
document you have thirty days to use it. If you use it beyond
those thirty days you must register it. To register this program
you simply send five dollars (or more) to:
The Computer Guy
4615A Cox Dr
Stow, OH 44224-1401
For your registration, you will receive, besides the undying
thanks of the author, a disk (please indicate 3.5" or 5.25") which
will contain the latest copy of this program, the source code, and
an online catalog of any other programs that I happen to write.
Proposed Future Additions
-------------------------
-"mod" and "div"
-better precision
-square roots
-configurable accuracy
-a setup and configuration addition
-a memory resident version
-other operations like power, logs, and e^x
-more than one operation per execution