How do I reference a variable indirectly? Is there a way to do something like this:

var=Inputbox("Enter the variable to display")
'imagine that "x" was entered"
print ? '{the value of the variable named x)