If I understand correctly, then the answer is no. Simplifying it, the array stores values not variables. You use one array variable in place of lots of individual repetitive variables.
If they must be individual variables , and Objects are outside of the scope of your programming, then some ideas are:
1. assign them as a single line - a = b = c = d = 27
2. If the variable names follow an incrementing pattern A1, A2, A3, A4, A5 - it may be possible to use 'eval' with a loop
3. If the names are unique, then you could store the variable names in an array and again use eval to set the variables by looping the array.
</mack>
_________________ When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.
Interactive Solutions for Business & Education Learn Anywhere. Learn Anytime.
www.interaktiv.co.uk +44 (0) 1395 548057
|