in reply to How can I create an array that holds number of variables with values?

let me put it in that way: I want to use these variables later in my program rather initializing like this: $var1=0; $var2=0; $var3=0; How can I define an array, so that I can use these variables to assign them later something else ? (i.e: $var1= 43; $var2 = 60; etc...

Originally posted as a Categorized Answer.

  • Comment on Re: How can I create an array that holds number of variables with values?