Reputation: 685
how can I make the following variables acquire the name of the main variable next to them? (a,b,c,d) change depending on MainVariable?
MainVariable = 'Shoe'
a = blackShoe
b = whiteShoe
c = blueShoe
d = yellowShoe
and if it changes to for example 'Tie' then
a = blackTie
b = whiteTie
c = blueTie
d = yellowTie
Upvotes: 0
Views: 42