TIB: RE: Question concerning renaming
[Prev][Next][Index][Thread]
TIB: RE: Question concerning renaming
Alright, I have it figured out. I don't know if anyone else has answered
it.
Here's what you need to do. If you have the name of the variable as a
string in name, (e.g. name="var1"), then you can do the following:
To store data into that variable, use the indirection operator (#). For
example, if I wanted to store the number 12 into the user input variable
"var1", I could do this
12->#name
That would store the number 12 into the variable "var1" as long as the
variable name is a string. I hope that helps.
Jesse
-----Original Message-----
From: owner-ti-basic@lists.ticalc.org
[mailto:owner-ti-basic@lists.ticalc.org]On Behalf Of
CalenWakefield@aol.com
Sent: Monday, October 30, 2000 3:07 PM
To: ti-basic@lists.ticalc.org
Subject: TIB: Question concerning renaming
help!! On the 89 I want to save information in a game I am making to a
variable that the operator chooses. how do I go about doing this???
for example:
Dialog
request "name of variable",name
EndDialog
How would I use the information in name to name a new variable?
please help!
References: