[TIB] Re: ti-basic Digest V3 #3


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

[TIB] Re: ti-basic Digest V3 #3




On Fri, 7 Feb 2003, Ecartis wrote:
> ti-basic Digest	Thu, 06 Feb 2003	Volume: 03  Issue: 003
> In This Issue:
> 		[TIB] Re: variables to strings
> ----------------------------------------------------------------------
> From: "Aaron Fineman" <amfineman@earthlink.net>
> Subject: [TIB] Re: variables to strings
> Date: Thu, 6 Feb 2003 17:27:58 -0500
>
> > the way to [convert variable to string] in 83+basic
> >
> > is to put your variable into a Y= equation...  then convert to a string.
> >
> > 5->Y1
> > Equ>Str(Y1,Str1)
>
> i tried doing M /->/ Y1. does this only work with numbers? or can i use
> variables?

Try it and see.  I don't own an 83+, but I know that trick doesn't work
on vanilla TI-83's; you have to use something complicated like

  {0,1}->L1:{0,M}->L2
  LinReg(ax+b) L1,L2,Y1
  Equ>String(Y1,Str1)
  sub(Str1,1,length(Str1)-3)
  Disp Ans

(Thanks to whoever came up with this snippet several months ago!)

HTH,
-Arthur