Eternity Angel
11-08-2002, 11:05 AM
I have no clue on how to do this, but I THINK that it's possible...
I have an input that takes it's value to a function, then I need to turn the value of that into a variable, and change that variable.
The value would be "something", and the variable would be "something1" - How would I eval()uate it so I could change the variable "something1"?
What I thought would work returns some new error to me:
eval(a+"1") = 12;
as an example, where "a" is the value (something).
What is the correct way to do this...?
I have an input that takes it's value to a function, then I need to turn the value of that into a variable, and change that variable.
The value would be "something", and the variable would be "something1" - How would I eval()uate it so I could change the variable "something1"?
What I thought would work returns some new error to me:
eval(a+"1") = 12;
as an example, where "a" is the value (something).
What is the correct way to do this...?