Equation Solver

Equation Solver

Sometime ago I developed the following program (re-produced below) which returns the result of a mathmatical equation entered by a user. Any one who wishes to use this is welcome.

 
     E.g. of text entered by the user
 
 1.      A = X * .1.
         B = Y + Z.
         A / B.
 
 2.     (X * .i) / (Y + Z).
 
In both examples X and Y are variables, A and B are intermediate values that user wishes to create for clarity.

Usage.

Define the following shared variables calc-eq.p contains the program script.