.OUTPUT FILE: PIC002
[Enter the name of the output picture.]
.FORMULA: P2=:((P1+0.5)*2.)
[Enter formula to be used to compute the output picture
(referred to by P2) from the input picture (P1). Note
that the operations can be + - * / . If the first
operation is + or -, the second one can only be * or / . If
the first operation is * or /, the second one can only be
+ or - . The formula entered by the user starts with the
two left parentheses.
Examples of accepted formulae:
((P1-2.)/2.)
((P1/512.)+0.)
Examples of unacceptable formulae:
((P1+3.)+50.)
((P1*4.)/10.)
...because in both cases the arithmetic
operations are not mixed.
The constants used must be floating point, i.e., the decimal point must be specified.]
NOTES
FI PIC001 X10=2./(X3-X4) AR PIC001 PIC002 ((P1-X4)*X10)