is there a way where you can put the value of a var then make it into a new var
eg. var x= 2; then make a var(x=which is 2)= to a number???
Moderator note: Please use a meaningfull title next time, everyone need help here and that title is useless for searching or giving info about what you need help with
All variables are defined when you write code, but of course you can set a var to the value of another variable that had been defined earlier in the code.
I am unable to completely understand what you are asking. Could you add in a bit more detail? Are you just wanting to set the Variable X to a value of 2 and then output the number?