/*-----solve.ced------
** solve.ced                                    by William Henning
**
** solve selected text, replace with result
**
** To use this script, type in a mathematical equation, mark one
** end with 'Mark' and position the cursor at the other end.
** Then invoke this script with 'Send DOS/ARexx command'.
** The result of the equation will be inserted into your file,
** replacing the equation.  This is similar to the calc.ced script.
**
** This script requires CygnusEd Professional v3.5 (or later) to run.
**
 */

OPTIONS RESULTS

'CUT BLOCK'

STATUS BLOCKBUFFER

EXPR = 'OUT = ' RESULT

INTERPRET EXPR

TEXT OUT
