I've got a question that I think the answer is simple, but the question is kinda complicated:
Let's say I have:
n = 4
And then I want to set the variable POS4 to a value. But the number after 'POS' would be the n variable value.
I've tryed all these methods below:
"POS" + n = "anything"
eval("POS" + n) = "anything"
var("POS" + n) = "anything"
var(eval("POS" + n)) = "anything"
None of them made it. Most of them say "cannot assign to a function result"
What should I do?
Thank you very much for your time.
-- Secret_Doom --