Re: problem with equations and strings


[Prev][Next][Index][Thread]

Re: problem with equations and strings



I'm not too sure why you are doing it this way.  Maybe you have a reason
that the 3 starts out as a string?  Otherwise, just do
3->x
x-1

>I have the following:
>"3"->String
>St>Eq(String, Equation)
>
>Now, what I want to do is to make another string containing the numerical
>value of Equation-1 i.e. 2.
>How do I do that? I can't see a way to store just a number in an equation
>besides what I just did i.e. converting a string to an equation. If this
>was possible I could in turn convert that equation to a string and the
>problem would be solved.