View Single Post
Old Jun 15th, 2007, 2:49 AM   #1
MR.T
Newbie
 
MR.T's Avatar
 
Join Date: Feb 2006
Location: USA,Michigan
Posts: 22
Rep Power: 0 MR.T is on a distinguished road
string to variable... or something

say I have a variable called example I want to print the contents of example, but I want to print it using its name from a string. Like so:

print "example"

naturally it will print the string example and not the contents of the variable example. How do I... de-string a string if you will?
__________________
"Gee, Brain, what do you want to do tonight?" "The same thing we do every night, Pinky: Try to take over the world!"
MR.T is offline   Reply With Quote