home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / addeg.zip / adde.inf (.txt) < prev    next >
OS/2 Help File  |  1996-11-07  |  4KB  |  84 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Information about Application of Adde.CMD ΓòÉΓòÉΓòÉ
  3.  
  4. !!! Adde.CMD !!!
  5.  
  6. Adde.CMD is a simple OS/2-REXX-PROGRAM. With Adde.CMD You can add some 
  7. (positive or negative) terms of a sum. For simple adding operations, for 
  8. example to add values of invoices of physicians or invoices of other costs of 
  9. daily life it is not advantagous to use a big graphical calculation program or 
  10. to buy such a program. 
  11. Otherwise Adde.CMD requires less then 20 kB storage place on the hard disk. 
  12.  
  13. Entering Procedure 
  14.  
  15.      First You type the label of the invoice, for example: 
  16.  
  17.              Dr. MedPerson, physic., invoice 31.10.96 
  18.  
  19.      and hit the Enter key. 
  20.      The label of the invoice is not allowed to exceed 40 characters (blanks 
  21.      included). 
  22.  
  23.      Now You type the value of the invoice and hit the Enter key. 
  24.  
  25.      If the value of a invoice is a decimal fraction You can use a decimal 
  26.      point or a decimal comma as You like it. You are free to type 0.35  or 
  27.      0,35  or  .35  or  ,35. 
  28.      Adde.CMD intern uses the decimal point because of the writing format on 
  29.      the screen or in a file. Who likes a uniform picture on the screen or in a 
  30.      file should use the decimal point as commonly used in the domain of the 
  31.      english language. 
  32.      The absolute values of the terms must be smaller than 1,0E+6 and larger 
  33.      than 1,0E-6. 
  34.      However, it is allowed to define the absolute value of a term to be exact 
  35.      Zero. In this case type 0 or -0 or .0 or -,00E-4 or +.000E3 or so on. 
  36.      The absolute value of the resulting sum is not allowed to reach or exceed 
  37.      1.0E+7. 
  38.  
  39.  This editing procedure described in the two preceeding paragraphs should be 
  40.  repeated as far as terms should be added. 
  41.  
  42.  If You type numbers formal wrong or with to large or to small absolute values 
  43.  Adde.CMD sounds "tat╨æh" -- musically a tritonus interval -- and shows a 
  44.  referring message. 
  45.  Typing the Enter key deletes this message and allows new typing of the number. 
  46.  
  47.  If You have typed all labels and values of the invoices hit the Enter key 
  48.  twice to end the summing of values. The resulting sum is shown on the screen. 
  49.  
  50.  All invoices with there labels and values and the resulting sum You can see 
  51.  again with the OS/2-EDITOR EPM which You can start if You wish to do that. 
  52.  (File: SUM.DAT). 
  53.  
  54.  From the OS/2-EDITOR EPM the file SUM.DAT which has stored the labels and 
  55.  values of all added items can be printed. This is very usefull if You have 
  56.  added many invoices or so on. 
  57.  For this You must pay attention to two configuration items of the EPM: 
  58.  (A window appering before the EPM is started refers to this.) 
  59.  
  60.  1.    In the options of the OS/2-EDITOR EPM 
  61.      in the sub-item font 
  62.      the font Courier Bitmap 13*8 should be activated. 
  63.  
  64.  2.    If You would like to print the file SUM.DAT 
  65.      in the Window "Print" 
  66.      the item Unformatted ASCII-Text should be aktivated. 
  67.  
  68.  This configuration of the EPM should be saved. 
  69.  
  70.  After closing the EPM the batch file Adde.CMD is finished and the file SUM.DAT 
  71.  is deleted. 
  72.  
  73.  Adde.CMD is Freeware. If anyone finds bugs please send a referring message to 
  74.  me. 
  75.  
  76.  06.11.1996, 
  77.  Hermann Mahr 
  78.  Kafkastra╤üe 14 
  79.  D-64291 Darmstadt 
  80.  Tel:    49 6151 373802 
  81.  Fax:    49 6151 351579 
  82.  Internet:  hmahr@ibm.net 
  83.  
  84.