TIB: Re: Strings
[Prev][Next][Index][Thread]
TIB: Re: Strings
I'm surprised that nobody has posted the following yet. It was
on the list a while ago.
This is for the '86, I don't know about he 83's commands, but
I think it should work on there too.
"ABC" ->
S *Create
a String
58 ->
N *The
number I want to concatenate with the string
LinR {1,2} , {N,N} , y1
*Linear Regression with points (1,N) and (2,N).
*The
resulting equation is stored in y1.
Eq>St(y1,S2) *Store
y1 to S2 as a string. The value of S2 is "58+0x"
sub(S2,1,lngth S2-3) -> S2 *Chop of
the "+0x" part
S+S2 ->
S *concatenate
the strings
No I wonder though, can you store the equation resulting of a
linear regression to an equation variable on the TI-83? I believe that on
the '82 the equation was automatically stored to a variable called "RegEq", or
something of the sort... Would someone with an 83 please check the
manual?
Philipp Keller
----- Original Message -----
Sent: 25 May 1999 17:06
Subject: TIB: Strings
>
> How do you add a variable to a string?
If I try D->Str1 I get an error,
> so how do you do it?
> I want
this:
>
> 24 -> D
> "ABC" -> Str1
> Str1 + D
-> Str1
> Disp Str1
>
> To display ABC24, not ABCD, and
not give me any error. I know this is
> simple, but I can't figure it out.
And yes, I know I don't need the
> "Disp", it just makes it more
understandable.
>
>
References: