Hello,

I was wondering if there is a command that enables you to label a variable based on an existing variable label
e.g.
I have a variable X and I use the command:

label variable x "apples"

Now I want to run a loop generating variables from x, but I want to include in that loop to label them as "apples" or whatever the existing label for variable x is.

TIA!

Cheers,
Jess