Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Macro problem.

Subject   st: Macro problem.
Date   Tue, 7 Sep 2004 14:02:40 -0400

I have the following macro problem.
In my macro, some variable are repeated
twice or more, and when trying to reshape, I can't.
It looks like:

global myvars " v1 v2 v3 v4 v5 v1 v6 v4 ......v7 v3"

So, I have to make sure that I have the variable only
one time. But sometime, I have hundreds of variables
when reshaping large datasets. And I can't figure
visually which are reapeated.
How to eliminate the doubles?
Best regards.
Amadou DIALLO.
Ph.D. candidate.

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index