TIB: Re: problems with strings and equations


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

TIB: Re: problems with strings and equations



 
 
 
-----Original Message-----
From: Jonas Oberg <jonaob@algonet.se>
To: ti-basic@lists.ticalc.org <ti-basic@lists.ticalc.org>
Date: Sunday, March 22, 1998 3:12 PM
Subject: TIB: problems with strings and equations

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.
/Tekk
 
try equation-1/->/string2
string + "+" + string2/->/string
 
string now contains "string+strng2"
                                                |    \________the numeric value of the string you put in
                        \_____________the string you first put in
st>eq(string,equation)
 
this might work