home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / CDRom / PET-CDW2.DMS / in.adf / rexx / Solve.ced < prev    next >
Encoding:
Text File  |  1993-07-07  |  635 b   |  27 lines

  1. /*-----solve.ced------
  2. ** solve.ced                                    by William Henning
  3. **
  4. ** solve selected text, replace with result
  5. **
  6. ** To use this script, type in a mathematical equation, mark one
  7. ** end with 'Mark' and position the cursor at the other end.
  8. ** Then invoke this script with 'Send DOS/ARexx command'.
  9. ** The result of the equation will be inserted into your file,
  10. ** replacing the equation.  This is similar to the calc.ced script.
  11. **
  12. ** This script requires CygnusEd Professional v3.5 (or later) to run.
  13. **
  14.  */
  15.  
  16. OPTIONS RESULTS
  17.  
  18. 'CUT BLOCK'
  19.  
  20. STATUS BLOCKBUFFER
  21.  
  22. EXPR = 'OUT = ' RESULT
  23.  
  24. INTERPRET EXPR
  25.  
  26. TEXT OUT
  27.