Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: loop to rename vars


From   mai7777 <mai7777@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: loop to rename vars
Date   Thu, 9 Oct 2008 23:31:24 -0400

Hi,
How can I loop over vars to rename them by their order number.
so they become var1, var2, var3...?
Thanks
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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