TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

converting string from list to variable

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming
Author Message
alo



Joined: 02 May 2007
Posts: 2

PostPosted: May 3, 2007 7:57 AM    Post subject: converting string from list to variable Reply with quote

I have a list {x1,x2,x3...}->z when x1,x2.. may differ in each input.
in the function I have to use those x1,x2 as variables :
x1=5
x2=6
...
I tried 5->#z[1] (argument must be a string error)or
5->#"z[1]" (indirection string is not a valid variable name error)

Thanks
Back to top
View user's profile Send private message
mellamokb



Joined: 10 May 2007
Posts: 124

PostPosted: May 10, 2007 3:55 PM    Post subject: Reply with quote

Try 5->z(1)

~ mellamokb
Back to top
View user's profile Send private message
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |