Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variables help 1

Status
Not open for further replies.

solex

Programmer
Feb 28, 2003
91
GB

ok, i want to call a varible, and the name of it is the value of another. how can i do this?
e.g.

i want a var called 1.

$1="what ever i wanted in 1";

$chosenVar=1;

print [this is the bit i dont know!]

can it be done?

Thanx in advance

SOLEX

 
ok,:)

i want to call a Variable, and the name of that Variable will be stored in another Variable. so changeing the varable holding the name, would change the called Variable.

thnx SOLEX
 
thnx thats what i needed thnx both
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top