home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
addeg.zip
/
adde.inf
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-11-07
|
4KB
|
84 lines
ΓòÉΓòÉΓòÉ 1. Information about Application of Adde.CMD ΓòÉΓòÉΓòÉ
!!! Adde.CMD !!!
Adde.CMD is a simple OS/2-REXX-PROGRAM. With Adde.CMD You can add some
(positive or negative) terms of a sum. For simple adding operations, for
example to add values of invoices of physicians or invoices of other costs of
daily life it is not advantagous to use a big graphical calculation program or
to buy such a program.
Otherwise Adde.CMD requires less then 20 kB storage place on the hard disk.
Entering Procedure
First You type the label of the invoice, for example:
Dr. MedPerson, physic., invoice 31.10.96
and hit the Enter key.
The label of the invoice is not allowed to exceed 40 characters (blanks
included).
Now You type the value of the invoice and hit the Enter key.
If the value of a invoice is a decimal fraction You can use a decimal
point or a decimal comma as You like it. You are free to type 0.35 or
0,35 or .35 or ,35.
Adde.CMD intern uses the decimal point because of the writing format on
the screen or in a file. Who likes a uniform picture on the screen or in a
file should use the decimal point as commonly used in the domain of the
english language.
The absolute values of the terms must be smaller than 1,0E+6 and larger
than 1,0E-6.
However, it is allowed to define the absolute value of a term to be exact
Zero. In this case type 0 or -0 or .0 or -,00E-4 or +.000E3 or so on.
The absolute value of the resulting sum is not allowed to reach or exceed
1.0E+7.
This editing procedure described in the two preceeding paragraphs should be
repeated as far as terms should be added.
If You type numbers formal wrong or with to large or to small absolute values
Adde.CMD sounds "tatБh" -- musically a tritonus interval -- and shows a
referring message.
Typing the Enter key deletes this message and allows new typing of the number.
If You have typed all labels and values of the invoices hit the Enter key
twice to end the summing of values. The resulting sum is shown on the screen.
All invoices with there labels and values and the resulting sum You can see
again with the OS/2-EDITOR EPM which You can start if You wish to do that.
(File: SUM.DAT).
From the OS/2-EDITOR EPM the file SUM.DAT which has stored the labels and
values of all added items can be printed. This is very usefull if You have
added many invoices or so on.
For this You must pay attention to two configuration items of the EPM:
(A window appering before the EPM is started refers to this.)
1. In the options of the OS/2-EDITOR EPM
in the sub-item font
the font Courier Bitmap 13*8 should be activated.
2. If You would like to print the file SUM.DAT
in the Window "Print"
the item Unformatted ASCII-Text should be aktivated.
This configuration of the EPM should be saved.
After closing the EPM the batch file Adde.CMD is finished and the file SUM.DAT
is deleted.
Adde.CMD is Freeware. If anyone finds bugs please send a referring message to
me.
06.11.1996,
Hermann Mahr
Kafkastraсe 14
D-64291 Darmstadt
Tel: 49 6151 373802
Fax: 49 6151 351579
Internet: hmahr@ibm.net