home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
e
/
estat21.zip
/
EASIDOC.ZIP
/
ESCHAP17.DOC
< prev
next >
Wrap
Text File
|
1992-06-30
|
3KB
|
133 lines
Chapter 17: THE EASIMATH PROGRAM
The program supplied as EASIMATH.EXE is a simple
calculator which provides the function of EASISTAT's
ARITHMETIC command as either a standalone program or as a
memory-resident program which can be "popped up" at any
time from within another program. It is distributed in
the self-extracting archive UTILS.EXE.
17:1. Running EASIMATH
EASIMATH is run from DOS by entering the command
EASIMATH. If DOS gives the "Bad command or file name"
message then that means it cannot find the program file
called EASIMATH.EXE because it is not in the current
working directory and not in one of the subdirectories
listed in the PATH command which should appear in your
AUTOEXEC.BAT file. You should see the sections on
installation for more details of this.
To run EASIMATH just once to obtain the result of just
one calculation the calculation is entered on the command
line after the program name, e.g.:
EASIMATH 4+3
or:
EASIMATH 5*SIN(2/3) POW 0.33
The result of the calculation will be output. The syntax
and mathematical operations available are the same as
described for EASISTAT (except that no columns or
variables can be referred to).
Alternatively EASIMATH can be set up as a memory-resident
program which can be popped up at any time. To do this
simply enter EASIMATH without specifying any calculation.
You should get a message saying that the program has been
successfully loaded. From now on you can obtain the
result of any calculation by typing out the calculation,
positioning the cursor at the end of it and then pressing
the M key while you also hold down then SHIFT and CONTROL
keys. You must make sure there are no spaces within the
calculation and that there is a space before it if the
calculation does not begin at the left of the screen. The
result of the calculation should appear in a box in the
middle of the screen. To clear it off the screen press
the ESCAPE key. If instead you press the ENTER key the
result will be typed into the program you are using as if
you had typed it yourself. Pressing any other key will
leave the result displayed on screen.
17:2. EASIMATH switches
If you enter:
EASIMATH /r
121
The EASIMATH program
then EASIMATH will be removed from memory if it had
previously been loaded. This will not work if other
memory-resident programs have been loaded subsequently
and not removed, nor if EASIMATH was originally loaded
when there was another program running at the same time,
for example if it had been loaded from EASISTAT's SYSTEM
command.
Entering:
EASIMATH /e
will just display some examples of how the program is
used.
122