--- Richard Williams <[email protected]> wrote:
> At 08:14 PM 6/30/2005 -0700, Friedrich Huebler wrote:
> >Yes, -aorder- works when the offending variables are renamed but I
> >would like to keep the original names.
> >
> >Friedrich
>
> Sounds like some weird esoteric bug in -aorder-. Until it gets
> fixed, I found that the following works. What I do is first
> create vars with the problematic names (a step you can skip since
> you already have those vars!). Then, add _1 to every name. Use
> -aorder-. Then, drop the _1 from every name.
>
> . sysuse auto, clear
> . ren make hi9dc
> . ren mpg hi9dd
> . renvars, postfix(_1)
> . aorder
> . renvars, postdrop(2)
Richard,
Thank you for finding this solution. When I rename the variables as
you suggested I can -aorder- them in my dataset.
Friedrich
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/