Buzz: Questions & Answers
...or variable-ception for you movie buffs out there.
Is there a way to use a variable inside another variable? For example, let's say I have these variables:
Var: c = 1..3
Var: exp1 = 9
Var: exp2 = 10
Var: exp3 = 11
Can I do this: $exp$c$$. What I'm looking for this to do is to randomly pull just one of the exp variables. I already tried and it didn't seem to work. I'm just wondering if there is a way to make it happen. Maybe a different way to code it to recognize the inner variable first?
Don't worry about a different way to pull a random number, I'm just using this as a quick example.